fix: update allowed hosts filter and adjust background color in login page #45

Merged
Janis merged 1 commits from fix/hotfix into main 2025-11-07 11:14:00 +01:00
3 changed files with 2 additions and 3 deletions

View File

@@ -55,10 +55,8 @@
<div class="card-body"> <div class="card-body">
@if(playersession.id == user.get.id) { @if(playersession.id == user.get.id) {
<h5 class="card-title">@playersession.name (You)</h5> <h5 class="card-title">@playersession.name (You)</h5>
<p class="card-text">Your text could be here!</p>
} else { } else {
<h5 class="card-title">@playersession.name</h5> <h5 class="card-title">@playersession.name</h5>
<p class="card-text">Your text could be here!</p>
} }
</div> </div>
</div> </div>

View File

@@ -40,7 +40,7 @@
console.log('callback - particles.js config loaded'); console.log('callback - particles.js config loaded');
}); });
</script> </script>
<div id="particles-js" style="background-color: rgb(182, 25, 36); <div id="particles-js" style="background-color: rgb(11, 8, 8);
background-size: cover; background-size: cover;
background-repeat: no-repeat; background-repeat: no-repeat;
background-position: 50% 50%;"></div> background-position: 50% 50%;"></div>

View File

@@ -1,5 +1,6 @@
# https://www.playframework.com/documentation/latest/Configuration # https://www.playframework.com/documentation/latest/Configuration
play.filters.disabled += play.filters.csrf.CSRFFilter play.filters.disabled += play.filters.csrf.CSRFFilter
play.filters.disabled += play.filters.hosts.AllowedHostsFilter
auth { auth {