Fix #1267 cas_login
This commit is contained in:
@@ -1735,6 +1735,7 @@ class Auth(object):
|
|||||||
host = host_names[0]
|
host = host_names[0]
|
||||||
else:
|
else:
|
||||||
host = 'localhost'
|
host = 'localhost'
|
||||||
|
return host
|
||||||
|
|
||||||
def __init__(self, environment=None, db=None, mailer=True,
|
def __init__(self, environment=None, db=None, mailer=True,
|
||||||
hmac_key=None, controller='default', function='user',
|
hmac_key=None, controller='default', function='user',
|
||||||
|
|||||||
Reference in New Issue
Block a user