Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
La Quadrature du Net
rpteam
Revue de Press
Commits
a70fe737
Commit
a70fe737
authored
May 14, 2019
by
Okhin
Browse files
Redirecting to /rp/ after login
parent
0370b24c
Pipeline
#2600
passed with stages
in 2 minutes and 59 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
project/settings/auth.py
View file @
a70fe737
...
@@ -5,6 +5,8 @@ User registration and login related settings
...
@@ -5,6 +5,8 @@ User registration and login related settings
AUTH_USER_MODEL
=
"auth.User"
AUTH_USER_MODEL
=
"auth.User"
EXTENDED_USER_MODEL
=
"userprofile.Profile"
EXTENDED_USER_MODEL
=
"userprofile.Profile"
LOGIN_URL
=
"/accounts/login"
LOGIN_URL
=
"/accounts/login"
LOGIN_REDIRECT_URL
=
"/rp/"
LOGOUT_REDIRECT_URL
=
"/rp/"
AUTHENTICATION_BACKENDS
=
[
AUTHENTICATION_BACKENDS
=
[
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment