diff --git a/depot/app/models/user.rb b/depot/app/models/user.rb index 146ef03..52b0a3e 100644 --- a/depot/app/models/user.rb +++ b/depot/app/models/user.rb @@ -43,7 +43,7 @@ def password_non_blank def self.encrypted_password (password, salt) string_to_hash = password + "wibble" + salt - Digest::SHA1.hexdigest (string_to_hash) + Digest::SHA1.hexdigest(string_to_hash) end def create_new_salt