config/initializers/warden/strategies/password.rb in cadenero-0.0.2.a3 vs config/initializers/warden/strategies/password.rb in cadenero-0.0.2.b1

- old
+ new

@@ -15,10 +15,10 @@ def valid? subdomain.present? && json_params["user"] end def authenticate! - account = Cadenero::V1::Account.find_by_subdomain(subdomain) + account = Cadenero::V1::Account.get_by_subdomain(subdomain) if account u = account.users.find_by_email(json_params["user"]["email"]) if u.nil? || u.blank? fail! else \ No newline at end of file