示例#1
0
 def POST(self):
     username = validateInstructor()
     stulist = control.getSessionStudents(username)
     wi = web.input()
     user = wi["user"]
     control.clearPassword(user)
     return render.clearPass(bootpre,stulist)
示例#2
0
 def GET(self):
     """
     Allows the instructor to delete student's passwords.
     """
     username = validateInstructor()
     stulist = control.getSessionStudents(username)
     return render.clearPass(bootpre,stulist)