def forgot_passwd(hashstr): logout() user = PasswdReset.query.filter_by(hashstr=hashstr).first().user return render_template('ui/reset-password.html', reset_user=user, hashstr=hashstr)