From 39e7521d3bc2582a1db44be91fa1804cb1e69274 Mon Sep 17 00:00:00 2001 From: Miguel Grinberg Date: Sat, 5 Jan 2013 12:03:15 -0800 Subject: [PATCH] added missing make_unique_nickname call Conflicts: app/views.py --- app/views.py | 1 + 1 file changed, 1 insertion(+) diff --git a/app/views.py b/app/views.py index 71ebf7b..c67c3ec 100644 --- a/app/views.py +++ b/app/views.py @@ -71,6 +71,7 @@ def after_login(resp): nickname = resp.nickname if nickname is None or nickname == "": nickname = resp.email.split('@')[0] + nickname = User.make_unique_nickname(nickname) user = User(nickname = nickname, email = resp.email, role = ROLE_USER) db.session.add(user) db.session.commit()