def GET(self): """ Clears the users password """ user = validateUser() control.clearPassword(user) raise web.seeother("/logout/?msg=newpass")
def POST(self): username = validateInstructor() stulist = control.getSessionStudents(username) wi = web.input() user = wi["user"] control.clearPassword(user) return render.clearPass(bootpre,stulist)