From aa83082d095b30fd3eae336ad5f1aa5d409fbdab Mon Sep 17 00:00:00 2001 From: Janis Date: Fri, 7 Nov 2025 11:13:59 +0100 Subject: [PATCH] fix: update allowed hosts filter and adjust background color in login page (#45) Reviewed-on: https://git.janis-eccarius.de/KnockOutWhist/KnockOutWhist-Web/pulls/45 --- knockoutwhistweb/app/views/lobby/lobby.scala.html | 2 -- knockoutwhistweb/app/views/login/login.scala.html | 2 +- knockoutwhistweb/conf/application.conf | 1 + 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/knockoutwhistweb/app/views/lobby/lobby.scala.html b/knockoutwhistweb/app/views/lobby/lobby.scala.html index 074e250..46eabb6 100644 --- a/knockoutwhistweb/app/views/lobby/lobby.scala.html +++ b/knockoutwhistweb/app/views/lobby/lobby.scala.html @@ -55,10 +55,8 @@
@if(playersession.id == user.get.id) {
@playersession.name (You)
-

Your text could be here!

} else {
@playersession.name
-

Your text could be here!

}
diff --git a/knockoutwhistweb/app/views/login/login.scala.html b/knockoutwhistweb/app/views/login/login.scala.html index 60aa0e4..f81630e 100644 --- a/knockoutwhistweb/app/views/login/login.scala.html +++ b/knockoutwhistweb/app/views/login/login.scala.html @@ -40,7 +40,7 @@ console.log('callback - particles.js config loaded'); }); -
diff --git a/knockoutwhistweb/conf/application.conf b/knockoutwhistweb/conf/application.conf index c9d8a3d..33a9cd6 100644 --- a/knockoutwhistweb/conf/application.conf +++ b/knockoutwhistweb/conf/application.conf @@ -1,5 +1,6 @@ # https://www.playframework.com/documentation/latest/Configuration play.filters.disabled += play.filters.csrf.CSRFFilter +play.filters.disabled += play.filters.hosts.AllowedHostsFilter auth {