This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

variable name change and imap adapter code uncommenting

  • Loading branch information...
1 parent 5df15d1 commit 381eae313df1949f39b9d7b6a6a4c0a44b466df6 @joshk committed Mar 26, 2010
Showing with 3 additions and 3 deletions.
  1. +1 −1 lib/devise_imapable.rb
  2. +2 −2 lib/devise_imapable/imap_adapter.rb
View
@@ -12,7 +12,7 @@ module Devise
# default email suffix
mattr_accessor :default_email_suffix
- @@imap_server = nil
+ @@default_email_suffix = nil
end
# Add +:imapable+ strategy to defaults.
@@ -10,8 +10,8 @@ def self.valid_credentials?(username, password)
true
rescue Net::IMAP::ResponseError => e
false
- # ensure
- # imap.disconnect
+ ensure
+ imap.disconnect
end
end

0 comments on commit 381eae3

Please sign in to comment.