mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Issue Fixed: Now User cannot be created with single (or less than 6 ) character password.
Fixes #1386
This commit is contained in:
parent
eb5a97bc3c
commit
19b4f9e01f
@ -210,7 +210,7 @@ define([
|
||||
|
||||
this.errorModel.set('newPassword', errmsg);
|
||||
return errmsg;
|
||||
} else if ('newPassword' in changedAttrs && !_.isUndefined(this.get('newPassword')) &&
|
||||
} else if (!_.isUndefined(this.get('newPassword')) &&
|
||||
!_.isNull(this.get('newPassword')) &&
|
||||
this.get('newPassword').length < 6) {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user