mirror of
https://github.com/Mailu/Mailu.git
synced 2024-12-12 10:45:38 +02:00
Prefill alias forms
This commit is contained in:
parent
8fb2e58661
commit
c52cf53310
@ -42,7 +42,7 @@ def alias_create(domain_name):
|
||||
@flask_login.login_required
|
||||
def alias_edit(alias):
|
||||
alias = utils.get_alias(alias)
|
||||
form = forms.AliasEditForm()
|
||||
form = forms.AliasEditForm(obj=alias)
|
||||
if form.validate_on_submit():
|
||||
alias.destination = form.destination.data
|
||||
alias.comment = form.comment.data
|
||||
|
Loading…
Reference in New Issue
Block a user