Fixed empty user_auth after logout on test
This commit is contained in:
parent
dcb63cb9f3
commit
5be0105806
@ -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…
x
Reference in New Issue
Block a user