diff options
Diffstat (limited to 'roseh.moe.go')
| -rw-r--r-- | roseh.moe.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roseh.moe.go b/roseh.moe.go index 6624706..e38677d 100644 --- a/roseh.moe.go +++ b/roseh.moe.go @@ -205,7 +205,7 @@ type loginTemplateArgs struct { } func login(w http.ResponseWriter, r *http.Request) { - rawKey, err := cryptoutil.CheckPassword(r.FormValue("password"), notepadPassword) + rawKey, err := notepadPassword.CheckPassword(r.FormValue("password")) if err != nil { if err := loginTemplate.Execute(w, loginTemplateArgs{Error: true}); err != nil { log.Printf("Warning: login: %s", err) |
