I also have dual login types (ldap and manual, the latter using has_secure_password) and had the same problem.
It might seem like a hack but the simple solution was to just set a bogus password for the ldap users (in the create method in my controller). I don't see any security problem with this since the ldap users cannot login manually using that password. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.