LE: remove challenge file on failure, take #2 ;)
This commit is contained in:
@@ -145,6 +145,7 @@ class lescript
|
|||||||
|
|
||||||
// simple self check
|
// simple self check
|
||||||
if($payload !== trim(@file_get_contents($uri))) {
|
if($payload !== trim(@file_get_contents($uri))) {
|
||||||
|
@unlink($tokenPath);
|
||||||
throw new \RuntimeException("Please check $uri - token not available");
|
throw new \RuntimeException("Please check $uri - token not available");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user