mirror of
https://gitlab.com/bashrc2/epicyon
synced 2026-10-31 01:51:15 +00:00
Fields for changing password
This commit is contained in:
1 parent
a07d301583
commit
845740bb01
1 file changed
+5
-5
@@ -4236,12 +4236,12 @@ class PubServer(BaseHTTPRequestHandler):
|
||||
|
||||
# change password
|
||||
if fields.get('password'):
|
||||
if fields.get('passwordconfirm'):
|
||||
if actorJson['password'] == \
|
||||
fields['passwordconfirm']:
|
||||
if len(actorJson['password']) > 2:
|
||||
if len(fields['password']) > 2:
|
||||
if fields.get('passwordconfirm'):
|
||||
if fields['password'] == \
|
||||
fields['passwordconfirm']:
|
||||
# set password
|
||||
pwd = actorJson['password']
|
||||
pwd = fields['password']
|
||||
storeBasicCredentials(baseDir,
|
||||
nickname,
|
||||
pwd)
|
||||
|
||||
Reference in new issue
Block a user