We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d1c21a2 commit 7e99ca9Copy full SHA for 7e99ca9
src/Passport.php
@@ -598,9 +598,11 @@ public static function viewNamespace(string $namespace): void
598
*/
599
public static function viewPrefix(string $prefix): void
600
{
601
- static::authorizationView($prefix.'authorize');
602
- static::deviceAuthorizationView($prefix.'device.authorize');
603
- static::deviceUserCodeView($prefix.'device.user-code');
+ $prefix = rtrim($prefix, '.');
+
+ static::authorizationView($prefix.'.authorize');
604
+ static::deviceAuthorizationView($prefix.'.device.authorize');
605
+ static::deviceUserCodeView($prefix.'.device.user-code');
606
}
607
608
/**
0 commit comments