Commit db07c1dc authored by Wolfgang Knopki's avatar Wolfgang Knopki
Browse files

changed default SAML-redirect to account page

parent 8c5acbde
......@@ -58,11 +58,11 @@ module.exports = function (app, config, passport, i18n) {
app.post(config.passport.saml.path,
passport.authenticate(config.passport.strategy,
{
failureRedirect: '/',
failureRedirect: '/account/',
failureFlash: true
}),
function (req, res) {
res.redirect('/');
res.redirect('/account/');
}
);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment