Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
ssoauth
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
django
ssoauth
Commits
5a93970f
Commit
5a93970f
authored
7 years ago
by
Fynn Becker
Browse files
Options
Downloads
Patches
Plain Diff
Fix capitalization mistake
parent
135adc0f
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
ssoauth/auth_utils.py
+1
-1
1 addition, 1 deletion
ssoauth/auth_utils.py
with
1 addition
and
1 deletion
ssoauth/auth_utils.py
+
1
−
1
View file @
5a93970f
...
@@ -60,7 +60,7 @@ def get_or_create_user(uuid, username):
...
@@ -60,7 +60,7 @@ def get_or_create_user(uuid, username):
meta
.
uuid
=
uuid
meta
.
uuid
=
uuid
meta
.
save
()
meta
.
save
()
except
models
.
UserMapping
.
DoesNotExist
:
except
models
.
UserMapping
.
DoesNotExist
:
logger
.
E
rror
(
"
User {username} lost their meta. Auto-fixing and hoping for the best.
"
.
format
(
**
locals
()))
logger
.
e
rror
(
"
User {username} lost their meta. Auto-fixing and hoping for the best.
"
.
format
(
**
locals
()))
models
.
UserMapping
.
objects
.
create
(
user
=
user
,
uuid
=
uuid
)
models
.
UserMapping
.
objects
.
create
(
user
=
user
,
uuid
=
uuid
)
return
user
return
user
...
...
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