host
This commit is contained in:
parent
078e04ce68
commit
18ea902db9
|
@ -10,8 +10,6 @@ export default async (req, res) => {
|
|||
res.setHeader("Set-Cookie", header["set-cookie"]);
|
||||
res.redirect(req.query.return_to ?? "/");
|
||||
} catch (error) {
|
||||
console.log(error);
|
||||
|
||||
// credentials were correct but accounts service failed
|
||||
res.redirect("/.ory/kratos/public/self-service/browser/flows/logout");
|
||||
}
|
||||
|
|
Reference in New Issue