Matthew Berman
Matthew Berman

Reputation: 8631

how do I change the default admin_user/pass for activeadmin?

I know this is a pretty simple question but I can't figure out where to change the login/pass that active admin gives you upon initial installation.

Upvotes: 2

Views: 2536

Answers (2)

baash05
baash05

Reputation: 4516

do a search of your migration directory for this.

AdminUser.create!(:email =>

It will have the default username and password.

PS.. Programmers notepad is a great windows tool for editing ruby. No I don't have stock in it. :)

Upvotes: 2

jdl
jdl

Reputation: 17790

It's in lib/generators/active_admin/devise/devise_generator.rb. If you've already run these, then look in db/migrate/ for the devise migration. The default of "password" should be in there.

Upvotes: 5

Related Questions