fixed issue #789, callable next

This commit is contained in:
mdipierro
2015-03-20 11:05:15 -05:00
parent 723c543f73
commit daf371466a
+2
View File
@@ -2361,6 +2361,8 @@ class Auth(object):
if next is DEFAULT:
# important for security
next = settings.login_next
if callable(next):
next = next()
user_next = snext
if user_next:
external = user_next.split('://')