Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
djangoldp-account
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
djangoldp-packages
djangoldp-account
Commits
13a9bcc6
Commit
13a9bcc6
authored
5 years ago
by
Calum Mackervoy
Browse files
Options
Downloads
Patches
Plain Diff
fixed bug where next wasnt defined on session
parent
3b9a403b
No related branches found
No related tags found
1 merge request
!48
Storing urlid for distant users
Pipeline
#3968
passed
5 years ago
Stage: release
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
djangoldp_account/endpoints/rp_login.py
+1
-1
1 addition, 1 deletion
djangoldp_account/endpoints/rp_login.py
with
1 addition
and
1 deletion
djangoldp_account/endpoints/rp_login.py
+
1
−
1
View file @
13a9bcc6
...
@@ -202,7 +202,7 @@ class RPLoginCallBackEndpoint(object):
...
@@ -202,7 +202,7 @@ class RPLoginCallBackEndpoint(object):
user
=
Solid
.
get_or_create_user
(
userinfo
,
webid
)
user
=
Solid
.
get_or_create_user
(
userinfo
,
webid
)
login
(
self
.
request
,
user
,
backend
=
'
djangoldp_account.auth.backends.ExternalUserBackend
'
)
login
(
self
.
request
,
user
,
backend
=
'
djangoldp_account.auth.backends.ExternalUserBackend
'
)
return
self
.
request
.
session
[
'
next
'
]
or
settings
.
SITE
_URL
return
getattr
(
self
.
request
.
session
,
'
next
'
,
settings
.
LOGIN_REDIRECT_URL
)
or
settings
.
LOGIN_REDIRECT
_URL
def
extract_web_id
(
self
,
userinfo
):
def
extract_web_id
(
self
,
userinfo
):
"""
"""
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment