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
@dantownsend I was thinking the same thing yesterday and it would be useful. Can I try implement this? My only question is how deep should we go with email and password validation without an external library. Is the html email field enough and is the 6-character password long enough? Or should we go deeper with regular expression?
@sinisaos Thanks, it would great if you could take a look. Just a simple regex should be OK for email validation. Even if the first version is very simple, it's still useful. I think we can add hooks at some point, so users can add additional logic for password and email validation.
@dantownsend I will make PR during the day that you can see code changes. We will drop a little bit in coverage because multiple lines like this one used to render errors in the HTML template. I think it's not a big deal.
We have
session_login
andsession_logout
endpoints, which helps with quickly prototyping an app.It would be great to have a
session_signup
endpoint too.It would look very similar to the login form, except with username / email / password / confirm password fields:
The text was updated successfully, but these errors were encountered: