Commit e45a4b97 authored by Michal Čihař's avatar Michal Čihař

Do not set to empty full name

parent b151572d
......@@ -122,6 +122,6 @@ def user_full_name(strategy, details, response, user=None, *args, **kwargs):
full_name = full_name.strip()
if full_name != user.first_name:
if full_name and full_name != user.first_name:
user.first_name = full_name
strategy.storage.user.changed(user)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment