From cb902da50bd75b623a47727e62c0c69913422bfd Mon Sep 17 00:00:00 2001 From: Pacien TRAN-GIRARD Date: Sun, 8 Feb 2015 00:17:21 +0100 Subject: Authentication draft --- conf/application.conf | 4 ++-- conf/routes | 22 ++++++++++++---------- 2 files changed, 14 insertions(+), 12 deletions(-) (limited to 'conf') diff --git a/conf/application.conf b/conf/application.conf index 72c25b7..17a1896 100644 --- a/conf/application.conf +++ b/conf/application.conf @@ -45,8 +45,8 @@ db.default.url=${?DATABASE_URL} # db.default.password="" slick.default="models.*" -slick.profile="scala.slick.driver.PostgresDriver" -slick.profile=${?SLICK_PROFILE} +#slick.profile="scala.slick.driver.PostgresDriver" +#slick.profile=${?SLICK_PROFILE} # Evolutions # ~~~~~ diff --git a/conf/routes b/conf/routes index cf3f5ae..095c886 100644 --- a/conf/routes +++ b/conf/routes @@ -3,17 +3,19 @@ # ~~~~ # Dev -GET /ebe controllers.Application.ebe -GET /pepal controllers.Application.pepal +GET /ebe controllers.Application.ebe +GET /pepal controllers.Application.pepal # Home page -GET / controllers.Application.index -GET /terms controllers.Application.index -GET /privacy controllers.Application.index +GET / controllers.Application.index +GET /terms controllers.Application.index +GET /privacy controllers.Application.index -## User account -#GET /login controllers.Application.index -#POST /login controllers.Application.index +# User account +GET /login controllers.Auth.login +POST /login controllers.Auth.loginSubmit + +GET /logout controllers.Auth.logout # #GET /signup controllers.Application.index #POST /signup controllers.Application.index @@ -45,7 +47,7 @@ GET /privacy controllers.Application.index #POST /sell controllers.Application.index # Cheat console -POST /console controllers.Console.console +POST /console controllers.Console.console # Map static resources from the /public folder to the /assets URL path -GET /assets/*file controllers.Assets.at(path="/public", file) +GET /assets/*file controllers.Assets.at(path="/public", file) -- cgit v1.2.3