auth: change wording of error when user terminates all sessions

Signed-off-by: Sumner Evans <sumner@beeper.com>
This commit is contained in:
Sumner Evans
2023-04-14 00:21:59 -06:00
parent 40c584b121
commit 918582c967
+4 -1
View File
@@ -349,7 +349,10 @@ class AuthAPI(abc.ABC):
state="request",
status=401,
errcode="session_revoked",
error="Login cancelled because you terminated all of the sessions from your phone.",
error=(
"Please try again. Login cancelled because your other sessions were "
"terminated via the Telegram app."
),
)
except Exception as e:
self.log.exception("Error sending password")