aboutsummaryrefslogtreecommitdiff
path: root/backend/cache/cache.go
diff options
context:
space:
mode:
Diffstat (limited to 'backend/cache/cache.go')
-rw-r--r--backend/cache/cache.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/backend/cache/cache.go b/backend/cache/cache.go
index 56581b8..f999d86 100644
--- a/backend/cache/cache.go
+++ b/backend/cache/cache.go
@@ -42,6 +42,7 @@ 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) {