Small fix

This commit is contained in:
takezoe
2014-03-15 16:06:49 +09:00
parent f5883abf04
commit d86f40e3a2
2 changed files with 3 additions and 3 deletions

View File

@@ -35,7 +35,7 @@ trait IndexControllerBase extends ControllerBase {
}
post("/signin", form){ form =>
authenticate(loadSystemSettings(), form.userName, form.password) match {
authenticate(context.settings, form.userName, form.password) match {
case Some(account) => signin(account)
case None => redirect("/signin")
}