1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-24 15:59:41 +02:00

feat(ui): EE-3540 portainer-account (#7177)

This commit is contained in:
congs 2022-07-26 17:17:54 +12:00 committed by GitHub
parent 9205f67791
commit 3acefba069
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
19 changed files with 411 additions and 236 deletions

View file

@ -1,5 +1,7 @@
import { usePublicSettings } from '@/portainer/settings/queries';
import { Icon } from '@@/Icon';
interface Props {
passwordValid: boolean;
forceChangePassword?: boolean;
@ -14,11 +16,8 @@ export function PasswordCheckHint({
return (
<div>
<p className="text-muted">
<i
className="fa fa-exclamation-triangle orange-icon space-right"
aria-hidden="true"
/>
<p className="text-muted vertical-center">
<Icon icon="alert-triangle" className="icon-warning" feather />
{forceChangePassword &&
'An administrator has changed your password requirements, '}
The password must be at least {minPasswordLength} characters long.