comparison controllers/pwreset.go @ 316:423d0f1d8ee0

JSON input is not used when doing a password reset.
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Thu, 02 Aug 2018 10:04:54 +0200
parents 3ef0521609f5
children 5cb18bedb3a9
comparison
equal deleted inserted replaced
315:3ef0521609f5 316:423d0f1d8ee0
322 322
323 return 323 return
324 } 324 }
325 325
326 func passwordReset( 326 func passwordReset(
327 input interface{}, 327 _ interface{},
328 req *http.Request, 328 req *http.Request,
329 db *sql.DB, 329 db *sql.DB,
330 ) (jr JSONResult, err error) { 330 ) (jr JSONResult, err error) {
331 331
332 hash := mux.Vars(req)["hash"] 332 hash := mux.Vars(req)["hash"]