-
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Rodauth doesn't perform resource modifications in I recommend simply autosubmitting the form with JavaScript when the page gets loaded, and making the form hidden in the meanwhile. Here is a Stimulus example – https://github.com/janko/rodauth-rails/wiki/Autosubmit-Forms. |
Beta Was this translation helpful? Give feedback.
Rodauth doesn't perform resource modifications in
GET
requests, to respect HTTP conventions. This applies to email auth, account verification and email change verification, all of which require the form to be submitted. In addition to being correct, it's also more flexible, e.g. Rodauth allows setting password or registering a passkey on account verification, which wouldn't be possible without the additional step.I recommend simply autosubmitting the form with JavaScript when the page gets loaded, and making the form hidden in the meanwhile. Here is a Stimulus example – https://github.com/janko/rodauth-rails/wiki/Autosubmit-Forms.