authlogic 1.1.1 → 1.1.2
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of authlogic might be problematic. Click here for more details.
data/CHANGELOG.rdoc
CHANGED
data/authlogic.gemspec
CHANGED
@@ -82,6 +82,13 @@ module Authlogic
|
|
82
82
|
end
|
83
83
|
|
84
84
|
def acts_as_authentic_with_config(options = {})
|
85
|
+
# Stop all configuration if the DB is not set up
|
86
|
+
begin
|
87
|
+
column_names
|
88
|
+
rescue Exception
|
89
|
+
return
|
90
|
+
end
|
91
|
+
|
85
92
|
options[:session_class] ||= "#{name}Session"
|
86
93
|
options[:crypto_provider] ||= CryptoProviders::Sha512
|
87
94
|
options[:login_field] ||= first_column_to_exist(:login, :username, :email)
|
data/lib/authlogic/version.rb
CHANGED