mirror of
https://github.com/simple-login/app.git
synced 2024-09-20 15:05:59 +08:00
change wording
This commit is contained in:
parent
4ef8290c73
commit
fc2fdea6e7
|
@ -17,8 +17,8 @@
|
||||||
Email Alias
|
Email Alias
|
||||||
</h3>
|
</h3>
|
||||||
<form method="post" class="col text-right">
|
<form method="post" class="col text-right">
|
||||||
<input type="hidden" name="form-name" value="create-new-email">
|
<input type="hidden" name="form-name" value="create-random-email">
|
||||||
<button class="btn btn-success">Create email alias</button>
|
<button class="btn btn-success">Create random alias</button>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -35,7 +35,7 @@ SimpleLogin team.
|
||||||
"success",
|
"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()
|
can_create_new_email = current_user.can_create_new_email()
|
||||||
|
|
||||||
if can_create_new_email:
|
if can_create_new_email:
|
||||||
|
|
Loading…
Reference in a new issue