From b4e4ce5a7976e9a7641d19bc99a50f02367e5e50 Mon Sep 17 00:00:00 2001 From: Igor Zhukov Date: Thu, 29 Jun 2017 21:33:44 +0300 Subject: [PATCH] Handle fresh auth error Closes #1436 --- app/js/locales/en-us.json | 1 + app/partials/desktop/error_modal.html | 3 +++ 2 files changed, 4 insertions(+) diff --git a/app/js/locales/en-us.json b/app/js/locales/en-us.json index 638de3ed..4ba085f1 100644 --- a/app/js/locales/en-us.json +++ b/app/js/locales/en-us.json @@ -419,6 +419,7 @@ "error_modal_media_not_supported_description": "Your browser cannot play this media file. Try downloading the file and opening it in a standalone player.", "error_modal_username_not_found_description": "There is no Telegram account with the username you provided.", "error_modal_phonecalls_not_supported_description_md": "Unfortunately calls are not supported in the Web App at the moment.\n\nYou can call {user} using our mobile apps or native desktop applications.\n{download-link: Download ยป}", + "error_modal_fresh_reset_authorization_forbidden": "For security reasons, you can't terminate older sessions from a device that you've just connected. Please use an earlier connection or wait for a few hours", "error_modal_bad_request_description": "One of the params is missing or invalid.", "error_modal_unauthorized_description": "This action requires authorization access. Please {login-link: log in}.", diff --git a/app/partials/desktop/error_modal.html b/app/partials/desktop/error_modal.html index fd518d9b..6eb56570 100644 --- a/app/partials/desktop/error_modal.html +++ b/app/partials/desktop/error_modal.html @@ -61,6 +61,9 @@ + + +