-
Notifications
You must be signed in to change notification settings - Fork 97
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make rodauth.has_password? method public
I needed this method when integrating rodauth-omniauth into our project. If an account is created via omniauth, it doesn't have a password. In this case, I prefer to display "Create Password" instead of "Change Password". Additionally, if the omniauth provider is the last authentication method, including the password, I aim to block to disconnect it. Therefore, I believe this method is beneficial to have in public.
- Loading branch information
1 parent
3921088
commit bb37118
Showing
2 changed files
with
7 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters