change wording

This commit is contained in:
Son NK 2019-07-06 18:08:24 +02:00 committed by Son NK
parent 4ef8290c73
commit fc2fdea6e7
2 changed files with 3 additions and 3 deletions

View File

@ -17,8 +17,8 @@
Email Alias
</h3>
<form method="post" class="col text-right">
<input type="hidden" name="form-name" value="create-new-email">
<button class="btn btn-success">Create email alias</button>
<input type="hidden" name="form-name" value="create-random-email">
<button class="btn btn-success">Create random alias</button>
</form>
</div>

View File

@ -35,7 +35,7 @@ SimpleLogin team.
"success",
)
elif request.form.get("form-name") == "create-new-email":
elif request.form.get("form-name") == "create-random-email":
can_create_new_email = current_user.can_create_new_email()
if can_create_new_email: