Wednesday, February 26, 2020

Re: logged in and got logout immediately upon reload the page

Hi Roy,

Share the exact problem with screenshots and code if possible. Did you set default authentication model of user to yours..?

Cheers,
Naveen Arora

On Wednesday, 26 February 2020 18:00:10 UTC+5:30, Roy Huang wrote:
Hi all,

any help will be appreciated, i've bee stuck on this for days, couldnt find answers

ok, here it is,

1) logged in and retrieved data back to a page, all good (got sessionid and csrftoken)

2) make a request on a view which has got @login_required, then got redirect to login (apparently sessionid got cleared )

any thoughts ?

thanks

donkey

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/961db9ac-23d8-44c3-a67b-d95d32c26a48%40googlegroups.com.

No comments:

Post a Comment