Why password_does_not_meet_requirements_message
is defined private
#329
igor-alexandrov
started this conversation in
General
Replies: 1 comment 1 reply
-
In general, the default is to have methods private unless they are deliberately designed to be used publicly. I don't have a problem changing the visibility of that method to public, please send a pull request if you would like that (make sure all overridden methods use the same visbility). |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I want to reuse
password_does_not_meet_requirements_message
in some custom forms using InternalRequest feature, but it is defined as private. https://github.com/jeremyevans/rodauth/blob/master/lib/rodauth/features/login_password_requirements_base.rb#L87At the same time
invalid_previous_password_message
and some other password validation methods are defined as public. Can anybody please explain why?Thank you.
Beta Was this translation helpful? Give feedback.
All reactions