Browse Source

Fixed empty user_auth after logout on test

master
Igor Zhukov 8 years ago
parent
commit
5be0105806
  1. 2
      app/js/lib/mtproto_wrapper.js

2
app/js/lib/mtproto_wrapper.js

@ -71,7 +71,7 @@ angular.module('izhukov.mtproto.wrapper', ['izhukov.utils', 'izhukov.mtproto'])
} }
function mtpClearStorage () { function mtpClearStorage () {
var saveKeys = [] var saveKeys = ['user_auth', 't_user_auth', 'dc', 't_dc']
for (var dcID = 1; dcID <= 5; dcID++) { for (var dcID = 1; dcID <= 5; dcID++) {
saveKeys.push('dc' + dcID + '_auth_key') saveKeys.push('dc' + dcID + '_auth_key')
saveKeys.push('t_dc' + dcID + '_auth_key') saveKeys.push('t_dc' + dcID + '_auth_key')

Loading…
Cancel
Save