do not force register link to redirect to the login page (#2804)
This commit is contained in:
parent
da7bdbd6ab
commit
2f8eb3a08c
|
@ -619,13 +619,8 @@ class AlternateRegisterDirectory(OldRegisterDirectory):
|
|||
method = ident_methods[0]
|
||||
else:
|
||||
method = 'password'
|
||||
return qommon.ident.register(method)
|
||||
|
||||
if method == 'idp':
|
||||
root_url = get_publisher().get_root_url()
|
||||
return redirect('%slogin' % root_url)
|
||||
|
||||
return OldRegisterDirectory._q_index(self)
|
||||
return qommon.ident.register(method)
|
||||
|
||||
OldLoginDirectory = wcs.root.LoginDirectory
|
||||
|
||||
|
|
Reference in New Issue