Skip to content
GitLab
Explore
Sign in
Commits on Source (1)
Remove comments
· c1fb7f8c
Marco De Donno
authored
Oct 22, 2019
c1fb7f8c
Hide whitespace changes
Inline
Side-by-side
module.py
View file @
c1fb7f8c
...
...
@@ -370,7 +370,6 @@ def do_login():
type at the time.
If all the checks are OK, the user has provided all needed information, hence is logged in.
"""
#TODO: double-check this function with someone external
#TODO: combine the security key checks in this function
need_to_check
=
session
.
get
(
"
need_to_check
"
,
[
"
password
"
]
)
...
...
@@ -640,7 +639,6 @@ def password_reset_stage2( user_id ):
Serve the reset password, second stage (password edit fields) page,
and set the data in the database if provided.
"""
#TODO: double-check this function with someone external
app
.
logger
.
info
(
"
Starting password reset stage 2
"
)
reset_id
=
"
reset_{}
"
.
format
(
user_id
)
...
...