mirror of
https://github.com/apricote/Listory.git
synced 2026-01-13 21:21:02 +00:00
feat(frontend): show page when login fails
This commit is contained in:
parent
cffddedc81
commit
32dcd84964
6 changed files with 35 additions and 5 deletions
|
|
@ -37,6 +37,6 @@ export class AuthController {
|
|||
});
|
||||
|
||||
// Redirect User to SPA
|
||||
res.redirect("/login/success?type=spotify");
|
||||
res.redirect("/login/success?source=spotify");
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -23,6 +23,6 @@ export class SpotifyAuthFilter implements ExceptionFilter {
|
|||
exception.stack
|
||||
);
|
||||
|
||||
response.redirect(`/login/failure?reason=${reason}&type=spotify`);
|
||||
response.redirect(`/login/failure?reason=${reason}&source=spotify`);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue