Fixed empty user_auth after logout on test

This commit is contained in:
Igor Zhukov 2017-06-30 16:24:56 +03:00
parent dcb63cb9f3
commit 5be0105806

View File

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