Skip to content

Commit

Permalink
Exempt register from csrf
Browse files Browse the repository at this point in the history
  • Loading branch information
imorland committed May 9, 2022
1 parent d034027 commit 7e4b6e2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion extend.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@
->post('/auth/apple', 'oauth.apple.post', ApplePostOAuthController::class),

(new Extend\Csrf())
->exemptRoute('oauth.apple.post'),
->exemptRoute('oauth.apple.post')
->exemptRoute('register'),

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

0 comments on commit 7e4b6e2

Please sign in to comment.