I am wondering the same thing. It looks like a bug to me. Hassox, have you run into this?
On Dec 16 2008, 2:31 pm, baaz <[email protected]> wrote: > Hi, > > I was playing around with merb-auth and strategies to know exactly how > they work. I noticed that no matter what I set the Merb::Slices::config > [:"merb-auth-slice-password"][:no_default_strategies] param in my > strategies.rb file, the :default_password_form strategy will be > activated. > > strategies.rb: > > Merb::Slices::config[:"merb-auth-slice-password"] > [:no_default_strategies] = true > > # Merb::Authentication.activate!(:default_basic_auth) > # Merb::Authentication.activate!(:default_password_form) > > ---------- > merb-auth-slice-password.rb (in the merb-auth-slice-password gem > code): > > (...) > def self.init > require 'merb-auth-more/mixins/redirect_back' > unless MerbAuthSlicePassword[:no_default_strategies] > puts "XXX self.init: :default_password_form activated" > ::Merb::Authentication.activate!(:default_password_form) > end > end > (...) > > Basically I always see the "XXX self.init: :default_password_form > activated" message on the console, regardless of the value of > Merb::Slices::config[:"merb-auth-slice-password"] > [:no_default_strategies]. I am not sure if this is a feature or a bug, > it may very well be that I am missing a point. If someone could shed a > light on this, it would be cool. > > Most importantly, I have to say that merb-auth is simply awesome, > really! > Balint --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "merb" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/merb?hl=en -~----------~----~----~----~------~----~------~--~---
