changeset 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
files controllers/pwreset.go
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/controllers/pwreset.go	Thu Aug 02 10:03:54 2018 +0200
+++ b/controllers/pwreset.go	Thu Aug 02 10:04:54 2018 +0200
@@ -324,7 +324,7 @@
 }
 
 func passwordReset(
-	input interface{},
+	_ interface{},
 	req *http.Request,
 	db *sql.DB,
 ) (jr JSONResult, err error) {