aboutsummaryrefslogtreecommitdiff
path: root/routers/user/social.go
diff options
context:
space:
mode:
authorUnknown <joe2010xtmf@163.com>2014-04-08 15:27:35 -0400
committerUnknown <joe2010xtmf@163.com>2014-04-08 15:27:35 -0400
commita991ebf5d0fe06c97be4b90b562e058ea2642de9 (patch)
treecd4a1710023de2cf1660b3333725c6ee8c61f8eb /routers/user/social.go
parentb5064298036c25b492c9b4547ed5314f928ceaeb (diff)
Fix #54
Diffstat (limited to 'routers/user/social.go')
-rw-r--r--routers/user/social.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/user/social.go b/routers/user/social.go
index 7b4d2329..a35da549 100644
--- a/routers/user/social.go
+++ b/routers/user/social.go
@@ -110,7 +110,7 @@ func SocialSignIn(ctx *middleware.Context, tokens oauth2.Tokens) {
case models.ErrOauth2NotAssociatedWithUser:
// pass
default:
- log.Error(err) // FIXME: handle error page
+ log.Error(err.Error()) // FIXME: handle error page
return
}
ctx.Session.Set("socialId", oa.Id)