Skip to content
Snippets Groups Projects
Commit f4cb525b authored by Phil Höfer's avatar Phil Höfer
Browse files

Merge branch 'hotfix' into 'master'

Update CheckPassword.php

See merge request !2
parents 47a44fd6 3ba0b387
No related branches found
No related tags found
1 merge request!2Update CheckPassword.php
......@@ -25,6 +25,12 @@ class CheckPassword
} else {
$targetUrl = str_replace("<<SLASH>>", "/", $request->route('url'));
$targetUrl = str_rot13(base64_decode($targetUrl));
// FIXME temporary check for ban list
if (md5($targetUrl) === "d1524b8dd3f1bee9ba24fe775339ba40") {
return abort(403);
}
// Check Password:
$checkPw = md5(env('PROXY_PASSWORD') . $targetUrl);
$password = $request->route('password');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment