Skip to content

Commit b87d53f

Browse files
LucasLeandro1204taylorotwell
authored andcommitted
allow pass absolute parameter in has valid signature request macro (#26397)
1 parent 94a54fc commit b87d53f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Illuminate/Foundation/Providers/FoundationServiceProvider.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ public function registerRequestValidation()
4949
*/
5050
public function registerRequestSignatureValidation()
5151
{
52-
Request::macro('hasValidSignature', function () {
53-
return URL::hasValidSignature($this);
52+
Request::macro('hasValidSignature', function ($absolute = true) {
53+
return URL::hasValidSignature($this, $absolute);
5454
});
5555
}
5656
}

0 commit comments

Comments
 (0)