Skip to content
Snippets Groups Projects
Commit 17fccbf9 authored by git's avatar git
Browse files

git fix: oidc

parent ac407b99
No related branches found
No related tags found
No related merge requests found
Pipeline #162817 passed
...@@ -569,6 +569,7 @@ const AuthenticationController = { ...@@ -569,6 +569,7 @@ const AuthenticationController = {
)(req, res, next) )(req, res, next)
}, },
verifyOpenIDConnect(issuer, profile, callback) { verifyOpenIDConnect(issuer, profile, callback) {
User.findOne({email: profile.emails[0].value}, (error, user) => { User.findOne({email: profile.emails[0].value}, (error, user) => {
if (!user) { if (!user) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment