mirror of
https://github.com/simple-login/app.git
synced 2024-09-29 21:21:29 +02:00
use warning instead of error
This commit is contained in:
parent
f6fd97ef05
commit
ba3074b94a
@ -1615,7 +1615,7 @@ def handle_unsubscribe_user(user_id: int, mail_from: str) -> str:
|
|||||||
"""return the SMTP status"""
|
"""return the SMTP status"""
|
||||||
user = User.get(user_id)
|
user = User.get(user_id)
|
||||||
if not user:
|
if not user:
|
||||||
LOG.e("No such user %s %s", user_id, mail_from)
|
LOG.w("No such user %s %s", user_id, mail_from)
|
||||||
return status.E510
|
return status.E510
|
||||||
|
|
||||||
if mail_from != user.email:
|
if mail_from != user.email:
|
||||||
|
Loading…
Reference in New Issue
Block a user