{"action":"created","issue":{"url":"https://api.github.com/repos/activeadmin/activeadmin/issues/4286","labels_url":"https://api.github.com/repos/activeadmin/activeadmin/issues/4286/labels{/name}","comments_url":"https://api.github.com/repos/activeadmin/activeadmin/issues/4286/comments","events_url":"https://api.github.com/repos/activeadmin/activeadmin/issues/4286/events","html_url":"https://github.com/activeadmin/activeadmin/issues/4286","id":128595255,"number":4286,"title":"Default admin users/passwords will not work (new)","user":{"login":"TeamRainless","id":3449975,"avatar_url":"https://avatars.githubusercontent.com/u/3449975?v=3","gravatar_id":"","url":"https://api.github.com/users/TeamRainless","html_url":"https://github.com/TeamRainless","followers_url":"https://api.github.com/users/TeamRainless/followers","following_url":"https://api.github.com/users/TeamRainless/following{/other_user}","gists_url":"https://api.github.com/users/TeamRainless/gists{/gist_id}","starred_url":"https://api.github.com/users/TeamRainless/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TeamRainless/subscriptions","organizations_url":"https://api.github.com/users/TeamRainless/orgs","repos_url":"https://api.github.com/users/TeamRainless/repos","events_url":"https://api.github.com/users/TeamRainless/events{/privacy}","received_events_url":"https://api.github.com/users/TeamRainless/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-01-25T17:35:32Z","updated_at":"2016-01-25T20:41:11Z","closed_at":null,"body":"Hey. I've been running activeadmin for years on my old app, but I'm just creating a new rails 4.2 app from scratch and I've installed activeadmin, and migrated and seeded the database... but it simply won't let me login (gives me the \"invalid password\" thing).\r\n\r\nBelow is the complete error:\r\n\r\n    Processing by ActiveAdmin::Devise::SessionsController#create as HTML\r\n      Parameters: {\"utf8\"=>\"✓\", \"authenticity_token\"=>\"edCCf/+TsRq7AVXY8/xMW9ytFvb/9Rk1wNte3EC9CMvrPAuiLdEtzePXlsZ+QV1Md2jbcKFgojg72uLtya996g==\", \"user\"=>{\"email\"=>\"admin@example.com\", \"password\"=>\"[FILTERED]\", \"remember_me\"=>\"0\"}, \"commit\"=>\"Login\"}\r\n      User Load (0.8ms)  SELECT  \"users\".* FROM \"users\" WHERE \"users\".\"email\" = $1  ORDER BY \"users\".\"id\" ASC LIMIT 1  [[\"email\", \"admin@example.com\"]]\r\n    Completed 401 Unauthorized in 10ms (ActiveRecord: 1.0ms)\r\n\r\nAnd in the off chance you want to see the rest:\r\n\r\n    Processing by ActiveAdmin::Devise::SessionsController#new as HTML\r\n      Parameters: {\"utf8\"=>\"✓\", \"authenticity_token\"=>\"edCCf/+TsRq7AVXY8/xMW9ytFvb/9Rk1wNte3EC9CMvrPAuiLdEtzePXlsZ+QV1Md2jbcKFgojg72uLtya996g==\", \"user\"=>{\"email\"=>\"admin@example.com\", \"password\"=>\"[FILTERED]\", \"remember_me\"=>\"0\"}, \"commit\"=>\"Login\"}\r\n      Rendered /Users/rainless/.rvm/gems/ruby-2.2.1/bundler/gems/activeadmin-557d143e8a48/app/views/active_admin/devise/shared/_links.erb (2.2ms)\r\n      Rendered /Users/rainless/.rvm/gems/ruby-2.2.1/bundler/gems/activeadmin-557d143e8a48/app/views/active_admin/devise/sessions/new.html.erb within layouts/active_admin_logged_out (23.9ms)\r\n    Completed 200 OK in 194ms (Views: 119.7ms | ActiveRecord: 0.0ms)\r\n\r\nThe user exists, I can only imagine that the password is, in fact, \"password\"... but just in case I also created my own admin user and couldn't login with that either.  I even went so far as to make a user controller:\r\n\r\n    class UsersController < ApplicationController\r\n      def create\r\n        User.create(user_params)\r\n      end\r\n    \r\n      def user_params\r\n        params,require(:user).permit(:email, :password, :password_remember, :id)\r\n      end\r\n    end\r\n\r\n...to specifically allow email and password and id and everything else... no avail.\r\n\r\nAlso did everything this guy did:\r\n\r\nhttp://stackoverflow.com/questions/25498878/cant-login-to-activeadmin\r\n\r\nAbsolutely nothing has helped.\r\n\r\nRails version is 4.2.5\r\n\r\nActiveAdmin is: activeadmin (1.0.0.pre2 557d143)\r\nDevise is: devise (3.5.5)\r\n\r\nPlease help"},"comment":{"url":"https://api.github.com/repos/activeadmin/activeadmin/issues/comments/174656083","html_url":"https://github.com/activeadmin/activeadmin/issues/4286#issuecomment-174656083","issue_url":"https://api.github.com/repos/activeadmin/activeadmin/issues/4286","id":174656083,"user":{"login":"seanlinsley","id":688886,"avatar_url":"https://avatars.githubusercontent.com/u/688886?v=3","gravatar_id":"","url":"https://api.github.com/users/seanlinsley","html_url":"https://github.com/seanlinsley","followers_url":"https://api.github.com/users/seanlinsley/followers","following_url":"https://api.github.com/users/seanlinsley/following{/other_user}","gists_url":"https://api.github.com/users/seanlinsley/gists{/gist_id}","starred_url":"https://api.github.com/users/seanlinsley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seanlinsley/subscriptions","organizations_url":"https://api.github.com/users/seanlinsley/orgs","repos_url":"https://api.github.com/users/seanlinsley/repos","events_url":"https://api.github.com/users/seanlinsley/events{/privacy}","received_events_url":"https://api.github.com/users/seanlinsley/received_events","type":"User","site_admin":false},"created_at":"2016-01-25T20:41:11Z","updated_at":"2016-01-25T20:41:11Z","body":"https://github.com/activeadmin/activeadmin/blob/bf29c0e6ac786bbaa98ce08d3d5c6074e0cbc948/lib/generators/active_admin/devise/devise_generator.rb#L59"}}