Browse Source

Enable in-app auth code

master
Igor Zhukov 9 years ago
parent
commit
81837ce4a2
  1. 2
      app/js/controllers.js

2
app/js/controllers.js

@ -205,7 +205,7 @@ angular.module('myApp.controllers', ['myApp.i18n']) @@ -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'

Loading…
Cancel
Save