Enable in-app auth code
This commit is contained in:
parent
2c02832f5c
commit
81837ce4a2
@ -205,7 +205,7 @@ angular.module('myApp.controllers', ['myApp.i18n'])
|
|||||||
var authKeyStarted = tsNow();
|
var authKeyStarted = tsNow();
|
||||||
MtpApiManager.invokeApi('auth.sendCode', {
|
MtpApiManager.invokeApi('auth.sendCode', {
|
||||||
phone_number: $scope.credentials.phone_full,
|
phone_number: $scope.credentials.phone_full,
|
||||||
// sms_type: 5,
|
sms_type: 5,
|
||||||
api_id: Config.App.id,
|
api_id: Config.App.id,
|
||||||
api_hash: Config.App.hash,
|
api_hash: Config.App.hash,
|
||||||
lang_code: navigator.language || 'en'
|
lang_code: navigator.language || 'en'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user