Active_admin and devise sign in

I’m using this new gem active_admin with devise. I followed this wiki

for regular users to let them sign in using username/email. And it’s
working for regular User, but now i can’t sign in as AdminUser. I
guess it’s because of this line in config/initializers/devise.rb:
config.authentication_keys = [ :login ]
How can i specify authentication_keys just for AdminUser?

solved, i googled one more time

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs