Fix logging out befor logging in.
GitOrigin-RevId: f424f10e00ad57c9c0cb44fc60267f098106a120
This commit is contained in:
parent
7dddc07dfe
commit
4894992e29
@ -293,9 +293,9 @@ void AuthManager::logout(uint64 query_id) {
|
||||
}
|
||||
on_new_query(query_id);
|
||||
if (state_ != State::Ok) {
|
||||
update_state(State::LoggingOut);
|
||||
// TODO: could skip full logout if still no authorization
|
||||
// TODO: send auth.cancelCode if state_ == State::WaitCode
|
||||
destroy_auth_keys();
|
||||
on_query_ok();
|
||||
} else {
|
||||
LOG(INFO) << "Logging out";
|
||||
|
Loading…
Reference in New Issue
Block a user