mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2024-12-25 07:47:05 +00:00
Use tabs for indentation
This commit is contained in:
parent
b3f9063ae7
commit
8bd9cf38ab
@ -161,10 +161,10 @@ def mail_users_add():
|
|||||||
@app.route('/mail/users/quota', methods=['POST'])
|
@app.route('/mail/users/quota', methods=['POST'])
|
||||||
@authorized_personnel_only
|
@authorized_personnel_only
|
||||||
def mail_users_quota():
|
def mail_users_quota():
|
||||||
try:
|
try:
|
||||||
return set_mail_quota(request.form.get('email', ''), request.form.get('quota'), env)
|
return set_mail_quota(request.form.get('email', ''), request.form.get('quota'), env)
|
||||||
except ValueError as e:
|
except ValueError as e:
|
||||||
return (str(e), 400)
|
return (str(e), 400)
|
||||||
|
|
||||||
@app.route('/mail/users/password', methods=['POST'])
|
@app.route('/mail/users/password', methods=['POST'])
|
||||||
@authorized_personnel_only
|
@authorized_personnel_only
|
||||||
|
Loading…
Reference in New Issue
Block a user