mirror of
https://github.com/espocrm/espocrm.git
synced 2026-06-28 15:06:06 +00:00
fix generate password special characters null
This commit is contained in:
@@ -63,26 +63,26 @@ class UserGeneratePasswordFieldView extends BaseFieldView {
|
||||
|
||||
this.strengthParams = this.options.strengthParams || {};
|
||||
|
||||
this.passwordStrengthLength = this.strengthParams.passwordStrengthLength ||
|
||||
this.getConfig().get('passwordStrengthLength');
|
||||
this.passwordStrengthLength = this.strengthParams.passwordStrengthLength ??
|
||||
this.getConfig().get('passwordStrengthLength') ?? null;
|
||||
|
||||
this.passwordStrengthLetterCount = this.strengthParams.passwordStrengthLetterCount ||
|
||||
this.getConfig().get('passwordStrengthLetterCount');
|
||||
this.passwordStrengthLetterCount = this.strengthParams.passwordStrengthLetterCount ??
|
||||
this.getConfig().get('passwordStrengthLetterCount') ?? null;
|
||||
|
||||
this.passwordStrengthNumberCount = this.strengthParams.passwordStrengthNumberCount ||
|
||||
this.getConfig().get('passwordStrengthNumberCount');
|
||||
this.passwordStrengthNumberCount = this.strengthParams.passwordStrengthNumberCount ??
|
||||
this.getConfig().get('passwordStrengthNumberCount') ?? null;
|
||||
|
||||
this.passwordStrengthSpecialCharacterCount = this.strengthParams.passwordStrengthSpecialCharacterCount ||
|
||||
this.getConfig().get('passwordStrengthSpecialCharacterCount');
|
||||
this.passwordStrengthSpecialCharacterCount = this.strengthParams.passwordStrengthSpecialCharacterCount ??
|
||||
this.getConfig().get('passwordStrengthSpecialCharacterCount') ?? null;
|
||||
|
||||
this.passwordGenerateLength = this.strengthParams.passwordGenerateLength ||
|
||||
this.getConfig().get('passwordGenerateLength');
|
||||
this.passwordGenerateLength = this.strengthParams.passwordGenerateLength ??
|
||||
this.getConfig().get('passwordGenerateLength') ?? null;
|
||||
|
||||
this.passwordGenerateLetterCount = this.strengthParams.passwordGenerateLetterCount ||
|
||||
this.getConfig().get('passwordGenerateLetterCount');
|
||||
this.passwordGenerateLetterCount = this.strengthParams.passwordGenerateLetterCount ??
|
||||
this.getConfig().get('passwordGenerateLetterCount') ?? null;
|
||||
|
||||
this.passwordGenerateNumberCount = this.strengthParams.passwordGenerateNumberCount ||
|
||||
this.getConfig().get('passwordGenerateNumberCount');
|
||||
this.passwordGenerateNumberCount = this.strengthParams.passwordGenerateNumberCount ??
|
||||
this.getConfig().get('passwordGenerateNumberCount') ?? null;
|
||||
}
|
||||
|
||||
fetch() {
|
||||
|
||||
Reference in New Issue
Block a user