authlogic 1.1.1 → 1.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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