fix #3174 - display accurate password complexity requirements (this is now implemented in registration, user profiles, and user management - add/edit)

This commit is contained in:
sbwalker
2023-08-25 13:31:02 -04:00
parent b4ab45d2e7
commit ef2f779f71
9 changed files with 198 additions and 48 deletions

View File

@ -96,5 +96,9 @@ namespace Oqtane.Services
return await PostJsonAsync<User>($"{Apiurl}/link?token={token}&type={type}&key={key}&name={name}", user);
}
public async Task<string> GetPasswordRequirementsAsync(int siteId)
{
return await GetStringAsync($"{Apiurl}/passwordrequirements/{siteId}");
}
}
}