Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
m4lab_tv1
User Account
Commits
db07c1dc
Commit
db07c1dc
authored
Apr 17, 2020
by
Wolfgang Knopki
Browse files
changed default SAML-redirect to account page
parent
8c5acbde
Changes
1
Hide whitespace changes
Inline
Side-by-side
routes/routes-account.js
View file @
db07c1dc
...
...
@@ -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/
'
);
}
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment