This commit is contained in:
Karol Wypchlo 2021-04-01 23:01:40 +02:00
parent 078e04ce68
commit 18ea902db9
1 changed files with 0 additions and 2 deletions

View File

@ -10,8 +10,6 @@ export default async (req, res) => {
res.setHeader("Set-Cookie", header["set-cookie"]); res.setHeader("Set-Cookie", header["set-cookie"]);
res.redirect(req.query.return_to ?? "/"); res.redirect(req.query.return_to ?? "/");
} catch (error) { } catch (error) {
console.log(error);
// credentials were correct but accounts service failed // credentials were correct but accounts service failed
res.redirect("/.ory/kratos/public/self-service/browser/flows/logout"); res.redirect("/.ory/kratos/public/self-service/browser/flows/logout");
} }