summaryrefslogtreecommitdiff
path: root/src/helsinki.at/rhimport/fetcher.go
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2016-01-08 00:55:14 (GMT)
committerChristian Pointner <equinox@helsinki.at>2016-01-08 00:55:28 (GMT)
commit99f7d89b99d6be4cb90fd7be4287eb381196c482 (patch)
tree58e9b78445d8d8908a37a479dbe635f995fbd929 /src/helsinki.at/rhimport/fetcher.go
parent63db9233d681006b1b1fb4999825d21e79dfcec5 (diff)
moved all db handling directly to context
Diffstat (limited to 'src/helsinki.at/rhimport/fetcher.go')
-rw-r--r--src/helsinki.at/rhimport/fetcher.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/helsinki.at/rhimport/fetcher.go b/src/helsinki.at/rhimport/fetcher.go
index e5fa29f..2d99be4 100644
--- a/src/helsinki.at/rhimport/fetcher.go
+++ b/src/helsinki.at/rhimport/fetcher.go
@@ -259,7 +259,7 @@ func fetcherInit() {
func checkPassword(ctx *Context, result *Result) (err error) {
ok := false
- if ok, err = ctx.db.CheckPassword(ctx.UserName, ctx.Password); err != nil {
+ if ok, err = ctx.CheckPassword(); err != nil {
return
}
if !ok {