diff --git a/app/js/controllers.js b/app/js/controllers.js
index ad7ffe58..e6e05dc1 100644
--- a/app/js/controllers.js
+++ b/app/js/controllers.js
@@ -219,6 +219,10 @@ angular.module('myApp.controllers', ['myApp.i18n'])
$scope.error = {field: 'phone'}
error.handled = true
break
+
+ case 'PHONE_NUMBER_APP_SIGNUP_FORBIDDEN':
+ $scope.error = {field: 'phone'}
+ break
}
})['finally'](function () {
if ($rootScope.idle.isIDLE || tsNow() - authKeyStarted > 60000) {
diff --git a/app/js/locales/en-us.json b/app/js/locales/en-us.json
index 4ba085f1..401da1a9 100644
--- a/app/js/locales/en-us.json
+++ b/app/js/locales/en-us.json
@@ -420,6 +420,7 @@
"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_app_signup_forbidden_md": "You don't have a Telegram account yet, please **sign up** with {signup-link: Android / iPhone} first.",
"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 6eb56570..51640358 100644
--- a/app/partials/desktop/error_modal.html
+++ b/app/partials/desktop/error_modal.html
@@ -40,6 +40,10 @@
+
+ {0}
+
+
@@ -58,7 +62,7 @@
{0}
-
+