]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/user.rb
nearly there on the node controller
[rails.git] / app / models / user.rb
index 1a12790420a899473de6c4c56fc890a0874e0fd5..589546e2d6c97c05e11a366ec0621e2aa50fcf68 100644 (file)
@@ -25,9 +25,7 @@ class User < ActiveRecord::Base
   end 
 
   def self.authenticate(email, passwd) 
-    find_first([ "email = ? AND pass_crypt =?", 
-               email, 
-               Digest::MD5.hexdigest(passwd) ]) 
+    find_first([ "email = ? AND pass_crypt =?", email, Digest::MD5.hexdigest(passwd) ])
   end 
   
   private