1234567891011121314151617181920212223242526letname="password.reset"moduletypeSig=sig(** [create_reset_token ?ctx ~email] creates and stores a reset token.
Returns [None] if there is no user with [email]. The reset token can be
used with [reset_password] to set the password without knowing the old
password. *)valcreate_reset_token:?ctx:(string*string)list->email:string->stringoptionLwt.t(** [reset_password ?ctx ~token ~password ~password_confirmation] sets the
password of a user associated with the reset [token]. *)valreset_password:?ctx:(string*string)list->token:string->password:string->password_confirmation:string->(unit,string)Result.tLwt.tvalregister:unit->Core_container.Service.tincludeCore_container.Service.Sigend