Skip to content

Commit

Permalink
fix login
Browse files Browse the repository at this point in the history
  • Loading branch information
MarvinOehlerkingCap committed Feb 10, 2025
1 parent 1262e77 commit ab98262
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controllers/oauth2.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const api = require('../api');

const csrfProtection = csrf({ cookie: true });

router.get('/login', csrfProtection, (req, res, next) => api(req, { version: VERSION })
router.get('/login', csrfProtection, (req, res, next) => api(req, { version: 'v3' })
.get(`/oauth2/loginRequest/${req.query.login_challenge}`)
.then((loginRequest) => {
req.session.login_challenge = req.query.login_challenge;
Expand Down

0 comments on commit ab98262

Please sign in to comment.