
An issue with eval? (credentials.rb)
Reported by Josh Pencheon | January 29th, 2009 @ 03:20 PM
Hi Ben,
This may be nothing, but I was having a look through the source, and noticed that although when you define the password setter, name the alias according to the options, whereas with the other methods you're naming the alias using the default option. I realise that isn't very clear, but I don't really want to paste in reams of code!
Found at:
/lib/authlogic/orm_adapters/active_record_adapter/acts_as_authentic/credentials.rb
i.e. line 71 vs. lines 103 and 114. I've seen you've commented on line 71 regarding method chaining, so this might be the intended behaviour, but I wasn't sure!
Thanks for the great plugin,
Josh
Comments and changes to this ticket
-
Ben Johnson January 29th, 2009 @ 03:25 PM
- State changed from new to resolved
Good find! You are 100% right, I updated those to use the variables. Thanks.
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
Object based authentication solution that handles all of the non sense for you. It's as easy as ActiveRecord is with a database.