diff --git a/apps/authentication/mixins.py b/apps/authentication/mixins.py index 46995158d..79f747ee0 100644 --- a/apps/authentication/mixins.py +++ b/apps/authentication/mixins.py @@ -415,11 +415,11 @@ class AuthMixin(PasswordEncryptionViewMixin): return elif ticket.state_reject: raise errors.LoginConfirmOtherError( - ticket.id, ticket.get_action_display() + ticket.id, ticket.get_state_display() ) elif ticket.state_close: raise errors.LoginConfirmOtherError( - ticket.id, ticket.get_action_display() + ticket.id, ticket.get_state_display() ) else: raise errors.LoginConfirmOtherError(