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:
parent
9205f67791
commit
3acefba069
19 changed files with 411 additions and 236 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue