Added password policy validation in install wizard

This commit is contained in:
Shaun Walker
2022-03-08 08:31:18 -05:00
parent 003f14003e
commit f250aff99b
5 changed files with 121 additions and 88 deletions

View File

@ -96,5 +96,13 @@ namespace Oqtane.Services
/// <param name="token"></param>
/// <returns></returns>
Task<User> VerifyTwoFactorAsync(User user, string token);
/// <summary>
/// Validate a users password against the password policy
/// </summary>
/// <param name="password"></param>
/// <returns></returns>
Task<bool> ValidatePasswordAsync(string password);
}
}