Skip to content

Commit 5d0f0d1

Browse files
committed
Aktualisieren von pipeline.py
1 parent 7fc68a6 commit 5d0f0d1

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

dojo/pipeline.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,10 +208,14 @@ def sanitize_username(username):
208208
def create_user(strategy, details, backend, user=None, *args, **kwargs):
209209
if not settings.SOCIAL_AUTH_CREATE_USER:
210210
return None
211+
<<<<<<< HEAD
211212
<<<<<<< HEAD
212213
username = details.get(settings.SOCIAL_AUTH_CREATE_USER_MAPPING)
213214
details["username"] = sanitize_username(username)
214215
=======
215216
details["username"] = sanitize_username(details.get("email"))
216217
>>>>>>> 0b9d5238e5 (update)
218+
=======
219+
details["username"] = sanitize_username(details.get("username"))
220+
>>>>>>> b9d07c6a56 (Aktualisieren von pipeline.py)
217221
return social_core.pipeline.user.create_user(strategy, details, backend, user, args, kwargs)

0 commit comments

Comments
 (0)