How do you change ActiveAdmin password?

kidcapital picture kidcapital · Nov 27, 2011 · Viewed 12.4k times · Source

I got ActiveAdmin running with [email protected]//password, but I want to change these credentials. Anyone know how to change them?

Answer

bpn picture bpn · May 17, 2012

Best way to do this would be to change it from the rails console :

    admin = AdminUser.find_by_email("[email protected]")
    admin.password = "newPassword"
    admin.save