aboutsummaryrefslogtreecommitdiff
path: root/backend
diff options
context:
space:
mode:
authorRyan Mehri <[email protected]>2020-05-11 23:02:52 -0600
committerRyan Mehri <[email protected]>2020-05-11 23:02:52 -0600
commit528afef5c006051f578bb72dba7c2de515497ce4 (patch)
treeb40ac4c4323756ae88eb57098372f3e00f4ff108 /backend
parentfix issue with empty password being hashed (diff)
downloadctrl-v-528afef5c006051f578bb72dba7c2de515497ce4.tar.xz
ctrl-v-528afef5c006051f578bb72dba7c2de515497ce4.zip
clean up print
Diffstat (limited to 'backend')
-rw-r--r--backend/cache/cache.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/backend/cache/cache.go b/backend/cache/cache.go
index f999d86..56581b8 100644
--- a/backend/cache/cache.go
+++ b/backend/cache/cache.go
@@ -42,7 +42,6 @@ func (c *Cache) Get(hash, userPassword string) (db.Paste, error) {
}
// if there is a password, check the provided one against it
- println(p.Password)
if p.Password != "" {
// if passwords do not match, the user is unauthorized
if !hashing.PasswordsEqual(p.Password, userPassword) {