Originally created by @nh2 on GitHub (Jun 8, 2022).
Originally assigned to: @BlackDex on GitHub.
Hi, thanks for Vaultwarden!
On the Admin panel, if you enter an email address into the <input id="smtp-test-email"> and hit Enter, like this:
it does not trigger Send test email as expected, but instead tries to save the general admin settings, which is a bit confusing.
I believe the test email <input> needs its own <form> to submit correctly on Enter.
Originally created by @nh2 on GitHub (Jun 8, 2022).
Originally assigned to: @BlackDex on GitHub.
Hi, thanks for Vaultwarden!
On the Admin panel, if you enter an email address into the `<input id="smtp-test-email">` and hit <kbd>Enter</kdb>, like this:

it does not trigger `Send test email` as expected, but instead tries to save the general admin settings, which is a bit confusing.
I believe the test email `<input>` needs its own `<form>` to submit correctly on Enter.
Thanks for the report.
A <form> within a <form> is not allowed, but i think i can fix something.
I will take a look at it this evening.
@BlackDex commented on GitHub (Jun 8, 2022):
Thanks for the report.
A `<form>` within a `<form>` is not allowed, but i think i can fix something.
I will take a look at it this evening.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @nh2 on GitHub (Jun 8, 2022).
Originally assigned to: @BlackDex on GitHub.
Hi, thanks for Vaultwarden!
On the Admin panel, if you enter an email address into the
<input id="smtp-test-email">and hit Enter, like this:it does not trigger
Send test emailas expected, but instead tries to save the general admin settings, which is a bit confusing.I believe the test email
<input>needs its own<form>to submit correctly on Enter.@BlackDex commented on GitHub (Jun 8, 2022):
Thanks for the report.
A
<form>within a<form>is not allowed, but i think i can fix something.I will take a look at it this evening.