convert lasso error to error page
This commit is contained in:
parent
6b4e45a502
commit
d1f53986b8
|
@ -107,6 +107,8 @@ class Saml2Directory(Directory):
|
|||
return template.error_page(_('Authentication failure; unknown principal'))
|
||||
if error[0] == lasso.LOGIN_ERROR_FEDERATION_NOT_FOUND:
|
||||
return template.error_page(_('Authentication failure; federation not found'))
|
||||
if error[0] == lasso.PROFILE_ERROR_MISSING_RESPONSE:
|
||||
return template.error_page(_('Authentication failure; failed to get response'))
|
||||
raise
|
||||
|
||||
return self.sso_after_response(login,
|
||||
|
|
Loading…
Reference in New Issue