Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Updated user session

  • Loading branch information...
commit 9361e35c9c4d8f7a4fbd7ce164af8ca984771e6f 1 parent 9066100
@binarylogic binarylogic authored
Showing with 6 additions and 2 deletions.
  1. +4 −0 app/models/user_session.rb
  2. +2 −2 config/environment.rb
View
4 app/models/user_session.rb
@@ -1,6 +1,10 @@
class UserSession < Authlogic::Session::Base
attr_accessor :openid_identifier
+ def login=(v)
+ raise v.inspect
+ end
+
def authenticating_with_openid?
!openid_identifier.blank? || controller.params[:open_id_complete]
end
View
4 config/environment.rb
@@ -31,8 +31,8 @@
# in vendor/plugins are loaded in alphabetical order.
# :all can be used as a placeholder for all plugins not explicitly named
# config.plugins = [ :exception_notification, :ssl_requirement, :all ]
- #config.plugin_paths += ["#{RAILS_ROOT}/../../Libs"]
- #config.plugins = [:authlogic, :open_id_authentication]
+ config.plugin_paths += ["#{RAILS_ROOT}/../../Libs"]
+ config.plugins = [:authlogic, :open_id_authentication]
# Add additional load paths for your own custom dirs
# config.load_paths += %W( #{RAILS_ROOT}/extras )
Please sign in to comment.
Something went wrong with that request. Please try again.