Check that a password is valid

Is there a method in Sphinx/TUserManager to just check if a submitted password is valid based on TPasswordOptions? Or should I just create a TDefaultPasswordValidator?

Thanks

Yes, you can use IUserManager.ValidatePassword method:

    procedure ValidatePassword(User: TUser; const Password: string);
1 Like

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.