mirror of
https://github.com/simple-login/app.git
synced 2025-02-24 07:43:54 +08:00
use warning log for disabled account
This commit is contained in:
parent
6803d4bf42
commit
4a7b73a218
1 changed files with 1 additions and 1 deletions
|
@ -457,7 +457,7 @@ def handle_forward(envelope, msg: Message, rcpt_to: str) -> List[Tuple[bool, str
|
|||
return [(False, "550 SL E3 Email not exist")]
|
||||
|
||||
if alias.user.disabled:
|
||||
LOG.exception(
|
||||
LOG.warning(
|
||||
"User %s disabled, disable forwarding emails for %s", alias.user, alias
|
||||
)
|
||||
return [(False, "550 SL E20 Account disabled")]
|
||||
|
|
Loading…
Reference in a new issue