diff --git a/public_html/packages/index.php b/public_html/packages/index.php
index 714190298c81e96095519b608b6b7899b4d1fb5e..cc987e1c4e4e642a8888fe1797d61468671d2cb0 100644
--- a/public_html/packages/index.php
+++ b/public_html/packages/index.php
@@ -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);