mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-06 11:30:13 +08:00
fix: remove unnecessary console log
This commit is contained in:
1 parent
72b2711367
commit
50bed23d37
8 files changed
+2
-14
No files matched your search
@@ -4,8 +4,6 @@ import config from '../config.js'
|
||||
import User from '../models/user.js'
|
||||
|
||||
function verify(issuer, profile, cb) {
|
||||
console.log('Get a google login:', profile)
|
||||
|
||||
process.nextTick(async () => {
|
||||
const email = profile.emails[0]?.value
|
||||
if (!email) {
|
||||
@@ -20,7 +18,6 @@ function verify(issuer, profile, cb) {
|
||||
id: profile.id,
|
||||
displayName: profile.displayName,
|
||||
}
|
||||
console.log('Existing user:', user)
|
||||
if (!user) {
|
||||
user = new User({
|
||||
email,
|
||||
|
||||
Reference in new issue
Block a user