Skip to content

Commit 7e4b6e2

Browse files
committed
Exempt register from csrf
1 parent d034027 commit 7e4b6e2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

extend.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,8 @@
4747
->post('/auth/apple', 'oauth.apple.post', ApplePostOAuthController::class),
4848

4949
(new Extend\Csrf())
50-
->exemptRoute('oauth.apple.post'),
50+
->exemptRoute('oauth.apple.post')
51+
->exemptRoute('register'),
5152

5253
(new OAuthExtend\RegisterProvider(Apple::class)),
5354
];

0 commit comments

Comments
 (0)