mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Only warn that mailbox is disabled for admins (#1739)
* Only warn that mailbox is disabled for admins * Requality warning about "disabled mail perm for user" as debug --------- Co-authored-by: Alexandre Aubin <4533074+alexAubin@users.noreply.github.com>
This commit is contained in:
parent
5daf33f58e
commit
4284cd5d10
1 changed files with 1 additions and 1 deletions
|
@ -616,7 +616,7 @@ def user_info(username):
|
|||
if service_status("dovecot")["status"] != "running":
|
||||
logger.warning(m18n.n("mailbox_used_space_dovecot_down"))
|
||||
elif username not in user_permission_info("mail.main")["corresponding_users"]:
|
||||
logger.warning(m18n.n("mailbox_disabled", user=username))
|
||||
logger.debug(m18n.n("mailbox_disabled", user=username))
|
||||
else:
|
||||
try:
|
||||
uid_ = user["uid"][0]
|
||||
|
|
Loading…
Add table
Reference in a new issue