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