Shared:Utils: change type for getPasswordErrorMessage
This commit is contained in:
parent
1a1baa83d5
commit
2e86044fff
@ -34,7 +34,7 @@ type TSettings = {
|
||||
specSymbols?: boolean;
|
||||
};
|
||||
|
||||
export const getPasswordErrorMessage = (t: TFunction, settings: TSettings) => {
|
||||
export const getPasswordErrorMessage = (t: TFunction, settings?: TSettings) => {
|
||||
return `${t("Common:PasswordMinimumLength")}
|
||||
${
|
||||
settings ? settings?.minLength : 8
|
||||
|
Loading…
Reference in New Issue
Block a user