Remove stale debug logs

ref GL #20
pull/3239/head
SingLi 10 years ago
parent 173c8378bd
commit 770dbb8c9f
  1. 6
      packages/rocketchat-custom-oauth/custom_oauth_server.coffee

@ -104,7 +104,7 @@ class CustomOAuth
self = @
OAuth.registerService @name, 2, null, (query) ->
accessToken = self.getAccessToken query
console.log 'at:', accessToken
# console.log 'at:', accessToken
identity = self.getIdentity accessToken
@ -120,7 +120,7 @@ class CustomOAuth
if identity?.user_id and not identity.id
identity.id = identity.user_id
console.log 'id:', JSON.stringify identity, null, ' '
# console.log 'id:', JSON.stringify identity, null, ' '
serviceData =
_OAuthCustom: true
@ -134,7 +134,7 @@ class CustomOAuth
profile:
name: identity.name or identity.username or identity.nickname
console.log data
# console.log data
return data

Loading…
Cancel
Save