Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SRCT
roomlist
Commits
a8f0c266
Commit
a8f0c266
authored
Oct 24, 2016
by
Daniel W Bond
Browse files
the urls for the welcome walkthrough no longer specify usernames in their urls
parent
a6fc58a4
Changes
1
Show whitespace changes
Inline
Side-by-side
roomlist/accounts/adapter.py
View file @
a8f0c266
...
@@ -40,9 +40,7 @@ class AccountAdapter(DefaultSocialAccountAdapter):
...
@@ -40,9 +40,7 @@ class AccountAdapter(DefaultSocialAccountAdapter):
# we are approximating that if a user has not completed the welcome walkthough,
# we are approximating that if a user has not completed the welcome walkthough,
# it is likely the page on which they started-- see the pre_social_login method
# it is likely the page on which they started-- see the pre_social_login method
if
not
request
.
user
.
student
.
completedSocial
:
if
not
request
.
user
.
student
.
completedSocial
:
return
reverse
(
'welcomeSocial'
,
kwargs
=
{
return
reverse
(
'welcomeSocial'
)
'slug'
:
request
.
user
.
username
,
})
else
:
else
:
return
reverse
(
'update_student'
,
kwargs
=
{
return
reverse
(
'update_student'
,
kwargs
=
{
'slug'
:
request
.
user
.
username
,
'slug'
:
request
.
user
.
username
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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