summaryrefslogtreecommitdiff
path: root/system/db/user.go
diff options
context:
space:
mode:
Diffstat (limited to 'system/db/user.go')
-rw-r--r--system/db/user.go4
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
}