mirror of https://gitlab.com/bashrc2/epicyon
Tidying
parent
845740bb01
commit
223ee5a5f5
17
daemon.py
17
daemon.py
|
@ -4235,16 +4235,13 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
actorChanged = True
|
actorChanged = True
|
||||||
|
|
||||||
# change password
|
# change password
|
||||||
if fields.get('password'):
|
if fields.get('password') and \
|
||||||
if len(fields['password']) > 2:
|
fields.get('passwordconfirm'):
|
||||||
if fields.get('passwordconfirm'):
|
if len(fields['password']) > 2 and \
|
||||||
if fields['password'] == \
|
fields['password'] == fields['passwordconfirm']:
|
||||||
fields['passwordconfirm']:
|
# set password
|
||||||
# set password
|
storeBasicCredentials(baseDir, nickname,
|
||||||
pwd = fields['password']
|
fields['password'])
|
||||||
storeBasicCredentials(baseDir,
|
|
||||||
nickname,
|
|
||||||
pwd)
|
|
||||||
|
|
||||||
# change city
|
# change city
|
||||||
if fields.get('cityDropdown'):
|
if fields.get('cityDropdown'):
|
||||||
|
|
Loading…
Reference in New Issue