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
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);