Skip to content

Commit e4ad3f0

Browse files
Skip social login initiation endpoints.
* added styling to login with github page Signed-off-by: Amaan Mirza <amaanmirza287@gmail.com> * Skip social login initiation endpoints --------- Signed-off-by: Amaan Mirza <amaanmirza287@gmail.com> Co-authored-by: antoliny0919 <antoliny0919@gmail.com>
1 parent a6ff9e1 commit e4ad3f0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

djangosnippets/settings/base.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,7 @@ def user_url(user):
146146
ACCOUNT_ADAPTER = "djangosnippets.adapters.DjangoSnippetsAccountAdapter"
147147
SOCIALACCOUNT_ADAPTER = "djangosnippets.adapters.DjangoSnippetsSocialAccountAdapter"
148148
SOCIALACCOUNT_AUTO_SIGNUP = False
149+
SOCIALACCOUNT_LOGIN_ON_GET = True
149150

150151
LOGIN_REDIRECT_URL = "/"
151152
ACCOUNT_LOGOUT_REDIRECT_URL = "/"

0 commit comments

Comments
 (0)