سؤال

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. :)

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top