how do I change the default admin_user/pass for activeadmin?
-
26-10-2019 - |
سؤال
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.
المحلول
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.
نصائح أخرى
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. :)
لا تنتمي إلى StackOverflow