Skip to content

Commit

Permalink
fix google login audit log [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
targos committed Nov 1, 2018
1 parent 092b366 commit 0fb9f98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/auth/google/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ exports.init = function (passport, router, config, mainConfig) {
if (!email) {
return done(null, false, { message: 'No account email' });
} else {
auditLogin(email, true, 'google', req.ctx);
auditLogin(email.value, true, 'google', req.ctx);
done(null, {
provider: 'google',
email: email.value
Expand Down

0 comments on commit 0fb9f98

Please sign in to comment.