Code refactoring and bug fixes

This commit is contained in:
Khanh Ngo
2020-06-19 08:47:51 +07:00
parent 5eb2edee2c
commit a3fd856dd8
14 changed files with 152 additions and 166 deletions

View File

@ -50,7 +50,7 @@ def profile():
'password'] if 'password' in request.form else ''
else:
firstname = lastname = email = new_password = ''
logging.warning(
current_app.logger.warning(
'Authenticated externally. User {0} information will not allowed to update the profile'
.format(current_user.username))