mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-08-24 23:22:58 -05:00
[GH-ISSUE #2542] "Test SMTP" form saves settings instead of sending email on Enter #10113
Reference in New Issue
Block a user
Originally created by @nh2 on GitHub (Jun 8, 2022).
Original GitHub issue: https://github.com/dani-garcia/vaultwarden/issues/2542
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.