diff options
Diffstat (limited to 'modules/auth/sso/sso.go')
-rw-r--r-- | modules/auth/sso/sso.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/auth/sso/sso.go b/modules/auth/sso/sso.go index e670f1a8a7..8785a5f068 100644 --- a/modules/auth/sso/sso.go +++ b/modules/auth/sso/sso.go @@ -77,6 +77,8 @@ func SessionUser(sess SessionStore) *models.User { if uid == nil { return nil } + log.Trace("Session Authorization: Found user[%d]", uid) + id, ok := uid.(int64) if !ok { return nil @@ -90,6 +92,8 @@ func SessionUser(sess SessionStore) *models.User { } return nil } + + log.Trace("Session Authorization: Logged in user %-v", user) return user } |