Yes, that would be cool. : -) On Fri, Nov 30, 2012 at 3:47 PM, kevinpfromnm <[email protected]>wrote:
> I'm trying to add a mass delete option for users to be able to purge their > current items. I figured having them validate their password would be a > good bit of security added since it's a pretty destructive option. The > current lifecycle almost makes this easy (since the transition is on the > user model) by adding current_password to the params. This works but for > one snag, it tries to validate password field, ie length, more than just > lowercase, etc. > > So, hoping there's a simple way to ignore that validation or tweak the > validation so it doesn't apply when password is nil. It'd be really cool > to be able to add a simple password validation to user transitions by > adding :available_to => :self, :params => [ :current_password ] > > -- > You received this message because you are subscribed to the Google Groups > "Hobo Users" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/hobousers/-/KTf84b8YUGMJ. > 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/hobousers?hl=en. > -- -Owen * Owen Dall Vice President | Chief Technology Officer Barquin International www.barquin.com Office: 202.296.7147 | Mobile: tel:410.991.0811 Fax: 202.296.8903 | email: [email protected] * -- You received this message because you are subscribed to the Google Groups "Hobo Users" 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/hobousers?hl=en.
