mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2026-10-12 16:11:59 -05:00
Issue Fixed: Now User cannot be created with single (or less than 6 ) character password.
Fixes #1386
This commit is contained in:
1 parent
eb5a97bc3c
commit
19b4f9e01f
1 file changed
+1
-1
@@ -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) {
|
||||
|
||||
|
||||
Reference in new issue
Block a user