{"action":"created","issue":{"url":"https://api.github.com/repos/refinery/refinerycms/issues/3014","labels_url":"https://api.github.com/repos/refinery/refinerycms/issues/3014/labels{/name}","comments_url":"https://api.github.com/repos/refinery/refinerycms/issues/3014/comments","events_url":"https://api.github.com/repos/refinery/refinerycms/issues/3014/events","html_url":"https://github.com/refinery/refinerycms/issues/3014","id":96439708,"number":3014,"title":"Can't login after user account has been created","user":{"login":"prokopsimek","id":5487217,"avatar_url":"https://avatars.githubusercontent.com/u/5487217?v=3","gravatar_id":"","url":"https://api.github.com/users/prokopsimek","html_url":"https://github.com/prokopsimek","followers_url":"https://api.github.com/users/prokopsimek/followers","following_url":"https://api.github.com/users/prokopsimek/following{/other_user}","gists_url":"https://api.github.com/users/prokopsimek/gists{/gist_id}","starred_url":"https://api.github.com/users/prokopsimek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prokopsimek/subscriptions","organizations_url":"https://api.github.com/users/prokopsimek/orgs","repos_url":"https://api.github.com/users/prokopsimek/repos","events_url":"https://api.github.com/users/prokopsimek/events{/privacy}","received_events_url":"https://api.github.com/users/prokopsimek/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-07-21T23:34:52Z","updated_at":"2015-07-22T10:48:31Z","closed_at":null,"body":"Maybe because #2940 now I can't login after my first account has been seeded?\r\n\r\nSeed.rb:\r\n```ruby\r\n# This file should contain all the record creation needed to seed the database with its default values.\r\n# The data can then be loaded with the rake db:seed (or created alongside the db with db:setup).\r\n#\r\n# Examples:\r\n#\r\n#   cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }])\r\n#   Mayor.create(name: 'Emanuel', city: cities.first)\r\n\r\nI18n.locale = :cs\r\n\r\n#create superadmin account\r\nadmin = Refinery::Authentication::Devise::User.new(username: 'superadmin', email: 'something@example.cz', password: 'SMadmin')\r\nadmin.create_first\r\n\r\n# Added by Refinery CMS Pages extension\r\nRefinery::Pages::Engine.load_seed\r\n\r\n# Added by Refinery CMS News engine\r\nRefinery::News::Engine.load_seed\r\n``` \r\n\r\nconfig/initializers/refinery/i18n.rb\r\n```ruby\r\nRefinery::I18n.configure do |config|\r\n  config.default_locale = :cs\r\n\r\n  config.current_locale = :cs\r\n\r\n  config.default_frontend_locale = :cs\r\n\r\n  config.frontend_locales = [:cs, :en]\r\n\r\n  config.locales = {:en=>\"English\", :de=>\"Deutsch\", :cs=>\"Česky\"}\r\nend\r\n```\r\n\r\nI can't login... No flash message, no error, user seeded in db..."},"comment":{"url":"https://api.github.com/repos/refinery/refinerycms/issues/comments/123662404","html_url":"https://github.com/refinery/refinerycms/issues/3014#issuecomment-123662404","issue_url":"https://api.github.com/repos/refinery/refinerycms/issues/3014","id":123662404,"user":{"login":"prokopsimek","id":5487217,"avatar_url":"https://avatars.githubusercontent.com/u/5487217?v=3","gravatar_id":"","url":"https://api.github.com/users/prokopsimek","html_url":"https://github.com/prokopsimek","followers_url":"https://api.github.com/users/prokopsimek/followers","following_url":"https://api.github.com/users/prokopsimek/following{/other_user}","gists_url":"https://api.github.com/users/prokopsimek/gists{/gist_id}","starred_url":"https://api.github.com/users/prokopsimek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prokopsimek/subscriptions","organizations_url":"https://api.github.com/users/prokopsimek/orgs","repos_url":"https://api.github.com/users/prokopsimek/repos","events_url":"https://api.github.com/users/prokopsimek/events{/privacy}","received_events_url":"https://api.github.com/users/prokopsimek/received_events","type":"User","site_admin":false},"created_at":"2015-07-22T10:48:31Z","updated_at":"2015-07-22T10:48:31Z","body":"If I set i18n initializer as RefineryCMS default and seed without \"I18n.locale = :cs\" and without seeding user, I am logged in after registration. After logout I can't login again..."}}