Commit 11a16fee authored by Michal Čihař's avatar Michal Čihař

Remove dead code

It was needed for python-social-auth 0.1
Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent 4ae3fad1
......@@ -79,11 +79,7 @@ def require_email(strategy, backend, details, user=None, is_new=False,
return
elif is_new and not details.get('email'):
if strategy.session_get('saved_email'):
details['email'] = strategy.session_pop('saved_email')
else:
return redirect('register')
return redirect('register')
def send_validation(strategy, backend, code):
......
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