aboutsummaryrefslogtreecommitdiff
path: root/app/controllers/Authentication.scala
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/Authentication.scala')
-rw-r--r--app/controllers/Authentication.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/controllers/Authentication.scala b/app/controllers/Authentication.scala
index f9772e2..b7ee724 100644
--- a/app/controllers/Authentication.scala
+++ b/app/controllers/Authentication.scala
@@ -56,7 +56,7 @@ object Authentication extends Controller {
56 56
57 def login = Auth { implicit request => 57 def login = Auth { implicit request =>
58 if (request.account.isEmpty) { 58 if (request.account.isEmpty) {
59 Ok(views.html.pages.loginForm(loginForm)) 59 Ok(views.html.pages.auth.loginForm(loginForm))
60 } else { 60 } else {
61 Redirect(routes.Application.index()) 61 Redirect(routes.Application.index())
62 } 62 }
@@ -66,7 +66,7 @@ object Authentication extends Controller {
66 DB.withSession { implicit session => 66 DB.withSession { implicit session =>
67 loginForm.bindFromRequest.fold( 67 loginForm.bindFromRequest.fold(
68 formWithErrors => { 68 formWithErrors => {
69 BadRequest(views.html.pages.loginForm(formWithErrors)) 69 BadRequest(views.html.pages.auth.loginForm(formWithErrors))
70 }, 70 },
71 validForm => { 71 validForm => {
72 val userUuid: String = Tables.Users.filter(_.username === validForm.username).map(_.uuid).first.run 72 val userUuid: String = Tables.Users.filter(_.username === validForm.username).map(_.uuid).first.run