{"action":"created","issue":{"url":"https://api.github.com/repos/simplabs/ember-simple-auth/issues/441","labels_url":"https://api.github.com/repos/simplabs/ember-simple-auth/issues/441/labels{/name}","comments_url":"https://api.github.com/repos/simplabs/ember-simple-auth/issues/441/comments","events_url":"https://api.github.com/repos/simplabs/ember-simple-auth/issues/441/events","html_url":"https://github.com/simplabs/ember-simple-auth/issues/441","id":57823302,"number":441,"title":"After upgrade to 0.7.3: Post parameters for signin mixed up","user":{"login":"AW-UC","id":4180877,"avatar_url":"https://avatars.githubusercontent.com/u/4180877?v=3","gravatar_id":"","url":"https://api.github.com/users/AW-UC","html_url":"https://github.com/AW-UC","followers_url":"https://api.github.com/users/AW-UC/followers","following_url":"https://api.github.com/users/AW-UC/following{/other_user}","gists_url":"https://api.github.com/users/AW-UC/gists{/gist_id}","starred_url":"https://api.github.com/users/AW-UC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AW-UC/subscriptions","organizations_url":"https://api.github.com/users/AW-UC/orgs","repos_url":"https://api.github.com/users/AW-UC/repos","events_url":"https://api.github.com/users/AW-UC/events{/privacy}","received_events_url":"https://api.github.com/users/AW-UC/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/simplabs/ember-simple-auth/labels/clarify","name":"clarify","color":"006b75"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":24,"created_at":"2015-02-16T16:18:41Z","updated_at":"2015-02-24T16:55:05Z","closed_at":"2015-02-23T13:17:38Z","body":"I'm using an Simple-Auth/Devise-Rails configuration like https://github.com/givanse/ember-cli-simple-auth-devise. It worked fine with 0.7.2 but with 0.7.3 my Rails server puts:\r\n\r\n    Started POST \"/users/sign_in\" for 127.0.0.1 at 2015-02-16 17:07:03 +0100\r\n      ActiveRecord::SchemaMigration Load (2.0ms)  SELECT \"schema_migrations\".* FROM \"schema_migrations\"\r\n    Processing by SessionsController#create as JSON\r\n      Parameters: {\"user\"=>{\"password\"=>\"[FILTERED]\", \"user_email\"=>\"admin@test.de\"}}\r\n    Can't verify CSRF token authenticity\r\n    Completed 401 Unauthorized in 33ms\r\n    \r\nI'm aware of the changes in #394 and thought it would be enough to change my session controller accordingly:\r\n\r\n    class SessionsController < Devise::SessionsController\r\n      def create\r\n        respond_to do |format|\r\n          format.html { super }\r\n          format.json do\r\n            self.resource = warden.authenticate!(auth_options)\r\n            sign_in(resource_name, resource)\r\n            data = {\r\n                token: self.resource.authentication_token,\r\n                user_email: self.resource.email,\r\n                user_id: self.resource.id\r\n            }\r\n            render json: data, status: 201\r\n          end\r\n        end\r\n      end\r\n    end\r\n    \r\nHowever, this does not help. Any breaking changes I missed?\r\n"},"comment":{"url":"https://api.github.com/repos/simplabs/ember-simple-auth/issues/comments/75795588","html_url":"https://github.com/simplabs/ember-simple-auth/issues/441#issuecomment-75795588","issue_url":"https://api.github.com/repos/simplabs/ember-simple-auth/issues/441","id":75795588,"user":{"login":"AW-UC","id":4180877,"avatar_url":"https://avatars.githubusercontent.com/u/4180877?v=3","gravatar_id":"","url":"https://api.github.com/users/AW-UC","html_url":"https://github.com/AW-UC","followers_url":"https://api.github.com/users/AW-UC/followers","following_url":"https://api.github.com/users/AW-UC/following{/other_user}","gists_url":"https://api.github.com/users/AW-UC/gists{/gist_id}","starred_url":"https://api.github.com/users/AW-UC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AW-UC/subscriptions","organizations_url":"https://api.github.com/users/AW-UC/orgs","repos_url":"https://api.github.com/users/AW-UC/repos","events_url":"https://api.github.com/users/AW-UC/events{/privacy}","received_events_url":"https://api.github.com/users/AW-UC/received_events","type":"User","site_admin":false},"created_at":"2015-02-24T16:55:05Z","updated_at":"2015-02-24T16:55:05Z","body":"@hlogmans great! what exactly did you change?"}}