janko / rodauth-rails

Rails integration for Rodauth authentication framework
https://github.com/jeremyevans/rodauth
MIT License
565 stars 40 forks source link

Full passwordless experience #181

Closed nicolas-besnard closed 1 year ago

nicolas-besnard commented 1 year ago

Hi,

I am trying to get a full passwordless experience. The idea, is for the user to only provide an email and a username, and never have to set a password.

I have been able to get that, but I cannot remove the password constraint. There's always a moment where I need to put a password.

Do you have any idea on how to achieved that?

janko commented 1 year ago

I believe you should be able to configure this by disabling setting password for registration and verification forms:

create_account_set_password? false
verify_account_set_password? false

This is mentioned in this guide.