You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 20, 2024. It is now read-only.
constdata=awaitrequest.formData();constform=awaitsuperValidate(data,registerSchema);if(!form.valid){returnfail(400,{ form });}try{// Actual action: ...}catch(error){returnfail(400,{ form });}// Optional redirect: throw redirect(302, paths.register.thanks);
Imo, it would be super cool to have a function that abstracts all this stuff
The text was updated successfully, but these errors were encountered:
Many form actions share the same structure:
Imo, it would be super cool to have a function that abstracts all this stuff
The text was updated successfully, but these errors were encountered: