Simple way to implement authentication.conf in password change

Hello, I am trying to create a custom class that will handle password change AND will follow rules in authentication.conf (password_policies).

I thought simply using:

AuthenticationManager::updatePassword("exampleuser1234", "ThisIsHispass2*23");

Would "load" the conf setup and check if the password provided meets password_policies.

However it doesnt work so i am wondering if i missed something important?

Basically all i want to do is: "bind" changing password to authentication.conf so users can just change values in config instead of rewriting them programmatically.

CA version 1.7.13 (providence)


Thank you.

Comments

Sign In or Register to comment.