From 17a5e919d56249ce2e671399c215c2c5f73c72bb Mon Sep 17 00:00:00 2001 From: feng626 <1304903146@qq.com> Date: Mon, 13 Sep 2021 19:03:39 +0800 Subject: [PATCH] fix: ticket bug --- apps/authentication/mixins.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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(