mirror of
https://github.com/chatmail/core.git
synced 2026-04-29 11:26:29 +03:00
Better warning if the pw is wrong
This commit is contained in:
@@ -303,10 +303,8 @@ impl Imap {
|
||||
.stock_string_repl_str(StockMessage::CannotLogin, &imap_user)
|
||||
.await;
|
||||
|
||||
emit_event!(
|
||||
context,
|
||||
Event::ErrorNetwork(format!("{} ({})", message, err))
|
||||
);
|
||||
error!(context, "{}", message);
|
||||
|
||||
self.trigger_reconnect();
|
||||
Err(Error::LoginFailed(format!("cannot login as {}", imap_user)))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user