diff options
| author | Ryan Mehri <[email protected]> | 2020-05-11 23:02:52 -0600 |
|---|---|---|
| committer | Ryan Mehri <[email protected]> | 2020-05-11 23:02:52 -0600 |
| commit | 528afef5c006051f578bb72dba7c2de515497ce4 (patch) | |
| tree | b40ac4c4323756ae88eb57098372f3e00f4ff108 /backend | |
| parent | fix issue with empty password being hashed (diff) | |
| download | ctrl-v-528afef5c006051f578bb72dba7c2de515497ce4.tar.xz ctrl-v-528afef5c006051f578bb72dba7c2de515497ce4.zip | |
clean up print
Diffstat (limited to 'backend')
| -rw-r--r-- | backend/cache/cache.go | 1 |
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) { |