mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-04-14 11:46:23 +00:00
fix(apple): don't run auth middleware during redirect
This commit is contained in:
parent
dad1440138
commit
3078af8f2a
1 changed files with 1 additions and 3 deletions
|
|
@ -151,9 +151,7 @@ api.loginSocial = {
|
|||
// Called by apple for web authentication.
|
||||
api.redirectApple = {
|
||||
method: 'POST',
|
||||
middlewares: [authWithHeaders({
|
||||
optional: true,
|
||||
})],
|
||||
middlewares: [],
|
||||
url: '/user/auth/apple',
|
||||
async handler (req, res) {
|
||||
if (req.body.id_token) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue