Skip to content
Snippets Groups Projects
Commit 3955d33e authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

Merge branch 'development' into 'master'

Development

See merge request !1396
parents 1bdcd139 44d6dfcf
No related branches found
No related tags found
2 merge requests!1504Master,!1396Development
......@@ -168,7 +168,7 @@ class HumanVerification extends Controller
private static function checkId($request, $id)
{
if (hash("sha512", $request->ip() . $_SERVER["AGENT"]) === $id) {
if (hash("sha512", $request->ip() . $_SERVER["AGENT"] . "uid") === $id) {
return true;
} else {
return false;
......
......@@ -27,7 +27,7 @@ class HumanVerification
$redis = Redis::connection('redisCache');
try {
$id = hash("sha512", $request->ip());
$uid = hash("sha512", $request->ip() . $_SERVER["AGENT"]);
$uid = hash("sha512", $request->ip() . $_SERVER["AGENT"] . "uid");
unset($_SERVER["AGENT"]);
/**
......
......@@ -39,8 +39,6 @@
<header>
@yield('homeIcon')
</header>
@include('parts.sidebar', ['id' => 'staticPagesSideBar'])
@include('parts.sidebar-opener', ['class' => 'fixed'])
<div class="wrapper {{$page ?? ''}}">
<main id="main-content">
@if (isset($success))
......@@ -61,6 +59,8 @@
@yield('additional-content')
</div>
</div>
@include('parts.sidebar', ['id' => 'staticPagesSideBar'])
@include('parts.sidebar-opener', ['class' => 'fixed'])
@if (isset($page) && $page === 'startpage')
@include('parts.footer', ['type' => 'startpage', 'id' => 'startPageFooter'])
@else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment