Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
converse.js
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
converse.js
Commits
c177c4da
Commit
c177c4da
authored
Apr 25, 2016
by
Michal Čihař
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Do not try to create verified mail for empty mail
Issue #1086 Signed-off-by:
Michal Čihař
<
michal@cihar.com
>
parent
a72297f5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
weblate/accounts/models.py
weblate/accounts/models.py
+1
-1
No files found.
weblate/accounts/models.py
View file @
c177c4da
...
...
@@ -849,7 +849,7 @@ def post_login_handler(sender, request, user, **kwargs):
profile
=
Profile
.
objects
.
get_or_create
(
user
=
user
)[
0
]
# Migrate django-registration based verification to python-social-auth
if
(
user
.
has_usable_password
()
and
if
(
user
.
has_usable_password
()
and
user
.
email
and
not
user
.
social_auth
.
filter
(
provider
=
'email'
).
exists
()):
social
=
user
.
social_auth
.
create
(
provider
=
'email'
,
...
...
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