Clean
This commit is contained in:
parent
01d9e8b90a
commit
10e55d94d7
1 changed files with 0 additions and 3 deletions
|
@ -148,9 +148,6 @@ module.exports.restLogout = (req, res) => {
|
||||||
res.json();
|
res.json();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
module.exports.casLogin = passport.authenticate('cas', { failureRedirect: '/login' });
|
|
||||||
|
|
||||||
module.exports.restLogin = (req, res, next) => {
|
module.exports.restLogin = (req, res, next) => {
|
||||||
passport.authenticate(authMode, (err, user, info) => {
|
passport.authenticate(authMode, (err, user, info) => {
|
||||||
if (err) {
|
if (err) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue