Enable back log out.

This commit is contained in:
levlam 2022-05-03 16:31:58 +03:00
parent 852fe4f24b
commit fc6b1c0ea8

View File

@ -34,8 +34,7 @@ Global::~Global() = default;
void Global::log_out(Slice reason) { void Global::log_out(Slice reason) {
CHECK(shared_config_ != nullptr); CHECK(shared_config_ != nullptr);
if (!shared_config_->have_option("auth")) { if (!shared_config_->have_option("auth")) {
LOG(ERROR) << reason; shared_config_->set_option_string("auth", reason);
// shared_config_->set_option_string("auth", reason);
} }
} }