From 81837ce4a2e1a41de5d7a14538d0174ed00fb72a Mon Sep 17 00:00:00 2001 From: Igor Zhukov Date: Mon, 2 Nov 2015 15:39:08 +0300 Subject: [PATCH] Enable in-app auth code --- app/js/controllers.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/js/controllers.js b/app/js/controllers.js index 0b4ce2a3..b0a63121 100644 --- a/app/js/controllers.js +++ b/app/js/controllers.js @@ -205,7 +205,7 @@ angular.module('myApp.controllers', ['myApp.i18n']) var authKeyStarted = tsNow(); MtpApiManager.invokeApi('auth.sendCode', { phone_number: $scope.credentials.phone_full, - // sms_type: 5, + sms_type: 5, api_id: Config.App.id, api_hash: Config.App.hash, lang_code: navigator.language || 'en'