mirror of https://gitlab.com/bashrc2/epicyon
Fields for changing password
parent
a07d301583
commit
845740bb01
10
daemon.py
10
daemon.py
|
@ -4236,12 +4236,12 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
|
|
||||||
# change password
|
# change password
|
||||||
if fields.get('password'):
|
if fields.get('password'):
|
||||||
if fields.get('passwordconfirm'):
|
if len(fields['password']) > 2:
|
||||||
if actorJson['password'] == \
|
if fields.get('passwordconfirm'):
|
||||||
fields['passwordconfirm']:
|
if fields['password'] == \
|
||||||
if len(actorJson['password']) > 2:
|
fields['passwordconfirm']:
|
||||||
# set password
|
# set password
|
||||||
pwd = actorJson['password']
|
pwd = fields['password']
|
||||||
storeBasicCredentials(baseDir,
|
storeBasicCredentials(baseDir,
|
||||||
nickname,
|
nickname,
|
||||||
pwd)
|
pwd)
|
||||||
|
|
Loading…
Reference in New Issue