I want to remove signup, reset password, and change password page from allauth django app.
what should i do? because I need only login page.
Related
How can I give the option to change Email-Id and change Password for users logged in through AllAuth [Gmail / Facebook].
After I logged in to admin page, my site also logged in by superuser. And when I logged out from it also logged out from admin. Please help me.
Hello and thank you for your time.
Situation:
I'm using allauth in my Django Project
User is on some random page (call it first page) of my site
He clicked on Facebook icon and call href="/accounts/facebook/login/?process=login"
He sign up with his Facebook account
He redirected to LOGIN_REDIRECT_URL = 'some_page', from settings.py
I need redirect him back to the first page. Is it a way of how i can do it?
allauth django
I would like to redirect a user to a "dynamic" login page.
I am currently being redirected to accounts/login
but I would like it to be
accounts/login/?name=Bob for user Bob
accounts/login/?name=Carl for user Carl
accounts/login/?name=Alice for user Alice
etc ...
Note that I could change the LOGIN_URL in settings.py to be e.g. accounts/login/?name=Bob but that would remain fixed and I would not get accounts/login/?name=Carl or accounts/login/?name=Alice.
Once the user has successfully login, I would need to retrieve the name from the request e.g. If user Bob has successfully login, get the name=Bob, etc.
Usually, I would do request.GET.get('name','')
but I would need to change allauth views
Is there a way to achieve the above without changing the source code of allauth.
I'm following this blog for Django password reset. It uses # url('', include('django.contrib.auth.urls', namespace="auth")), for the urls.
Now when the user is logged-in, ie is_authenticated, then these urls should not work.
There's no use of links such as password_change, or password_reset when the user is already logged in. How can I disable those urls when user is authenticated?