Skip to content
Snippets Groups Projects
Commit c943c9ba authored by Hahn Axel (hahn)'s avatar Hahn Axel (hahn)
Browse files

add http code 403 if hashed secret was used twice

parent ce99d467
No related branches found
No related tags found
No related merge requests found
......@@ -40,7 +40,7 @@
// limit to one time usage of a hash
if($aConfig['onetimesecret']){
if(_checkIfHashWasUsedAlready($lockfile, $sMyHash)) {
_quit('Access denied. The hashed was used already.');
_quit('Access denied. The hashed was used already.', 403);
}
_cleanupLockdata($lockfile, $aConfig['maxlockfilesize'], $iMaxAge);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment