[][src]Function firestore_db_and_auth::users::sign_up

pub fn sign_up(
    session: &Session,
    email: &str,
    password: &str
) -> Result<Session>

Creates the firebase auth user with the given email and password and returns a user session.

Error codes: EMAIL_EXISTS: The email address is already in use by another account. OPERATION_NOT_ALLOWED: Password sign-in is disabled for this project. TOO_MANY_ATTEMPTS_TRY_LATER: We have blocked all requests from this device due to unusual activity. Try again later.