My favorites
▼
|
Sign in
substruct
Open-source Ruby on Rails E-Commerce
Project Home
Downloads
Wiki
Issues
Source
READ-ONLY: This project has been
archived
. For more information see
this post
.
Search
Search within:
All issues
Open issues
New issues
Issues to verify
for
Advanced search
Search tips
Subscriptions
Issue
78
attachment: order_user_authenticate?.patch
(702 bytes)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Index: /home/edmundo/workspace_aptana/substruct_trunk/vendor/plugins/substruct/app/models/order_user.rb
===================================================================
--- /home/edmundo/workspace_aptana/substruct_trunk/vendor/plugins/substruct/app/models/order_user.rb (revision 78)
+++ /home/edmundo/workspace_aptana/substruct_trunk/vendor/plugins/substruct/app/models/order_user.rb (working copy)
@@ -70,8 +70,8 @@
end
def self.authenticate?(email, password)
- user = self.authenticate(login, password)
- if !user.nil? && user.login == login
+ user = self.authenticate(email, password)
+ if !user.nil? && user.email_address == email
return true
else
false
Powered by
Google Project Hosting