tvallotton / rocket_auth

An implementation for an authentication API for Rocket applications.
https://docs.rs/rocket_auth/
Apache License 2.0
73 stars 35 forks source link

Add constructor for Signup #33

Open A6GibKm opened 2 years ago

A6GibKm commented 2 years ago

It is quite inconvenient to get a Signup form if one requires an username parameter in addition to password and email.

ywegel commented 2 years ago

I am not 100% sure if i understand your problem, but you can signup/create a user via the Auth RequestGuard: auth.users.create_user(email, password, false).await?;