aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xGradeBook_lib.tcl4
1 files changed, 4 insertions, 0 deletions
diff --git a/GradeBook_lib.tcl b/GradeBook_lib.tcl
index 3b5edfb..4813786 100755
--- a/GradeBook_lib.tcl
+++ b/GradeBook_lib.tcl
@@ -1030,6 +1030,8 @@ proc askToLogin {} {
}
proc ResetForgottenPassword { permission_list user } {
+ return
+ # FIXME work on SelectColValue4User to fix sql attack vector
global script_name user_requested
if { [SelectColValue4User UserName $user_requested] eq "" } {
@@ -1038,7 +1040,9 @@ proc ResetForgottenPassword { permission_list user } {
return
}
+
#reset password procedure goes here
+ # FIXME sanitize email
set newpassword [GenPassword]
Set_New_Password_Non_Web $user_requested $newpassword
SendNewPassword2User $user_requested $newpassword