diff options
| author | Steve Manuel <nilslice@gmail.com> | 2016-10-24 15:42:35 -0700 |
|---|---|---|
| committer | Steve Manuel <nilslice@gmail.com> | 2016-10-24 15:42:35 -0700 |
| commit | 5d7ac0a00e9f4c33e095be9be4d79ae302c0c4c4 (patch) | |
| tree | dbf226a46cf426bd73bbf77ff1e0773ce12f8e14 /system/db/user.go | |
| parent | 30d20c99a641dcd685221d6ddfa1e101f7672d1b (diff) | |
removing debug printlns and modifying other fmt.Println to log.Println for consistency
Diffstat (limited to 'system/db/user.go')
| -rw-r--r-- | system/db/user.go | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/system/db/user.go b/system/db/user.go index f25c2b2..d2dc3a9 100644 --- a/system/db/user.go +++ b/system/db/user.go @@ -177,14 +177,10 @@ func CurrentUser(req *http.Request) ([]byte, error) { return nil, fmt.Errorf("Error. No user data found in request token.") } - fmt.Println(claims, email.(string)) - usr, err := User(email.(string)) if err != nil { return nil, err } - fmt.Println(string(usr)) - return usr, nil } |
