Skip to content
Commits on Source (1)
...@@ -370,7 +370,6 @@ def do_login(): ...@@ -370,7 +370,6 @@ def do_login():
type at the time. type at the time.
If all the checks are OK, the user has provided all needed information, hence is logged in. 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 #TODO: combine the security key checks in this function
need_to_check = session.get( "need_to_check", [ "password" ] ) need_to_check = session.get( "need_to_check", [ "password" ] )
...@@ -640,7 +639,6 @@ def password_reset_stage2( user_id ): ...@@ -640,7 +639,6 @@ def password_reset_stage2( user_id ):
Serve the reset password, second stage (password edit fields) page, Serve the reset password, second stage (password edit fields) page,
and set the data in the database if provided. 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" ) app.logger.info( "Starting password reset stage 2" )
reset_id = "reset_{}".format( user_id ) reset_id = "reset_{}".format( user_id )
......