{"action":"opened","issue":{"url":"https://api.github.com/repos/simplabs/ember-simple-auth/issues/712","labels_url":"https://api.github.com/repos/simplabs/ember-simple-auth/issues/712/labels{/name}","comments_url":"https://api.github.com/repos/simplabs/ember-simple-auth/issues/712/comments","events_url":"https://api.github.com/repos/simplabs/ember-simple-auth/issues/712/events","html_url":"https://github.com/simplabs/ember-simple-auth/issues/712","id":110926705,"number":712,"title":"Devise Authentication broken in jj-abrams branch","user":{"login":"wzowee","id":5781975,"avatar_url":"https://avatars.githubusercontent.com/u/5781975?v=3","gravatar_id":"","url":"https://api.github.com/users/wzowee","html_url":"https://github.com/wzowee","followers_url":"https://api.github.com/users/wzowee/followers","following_url":"https://api.github.com/users/wzowee/following{/other_user}","gists_url":"https://api.github.com/users/wzowee/gists{/gist_id}","starred_url":"https://api.github.com/users/wzowee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wzowee/subscriptions","organizations_url":"https://api.github.com/users/wzowee/orgs","repos_url":"https://api.github.com/users/wzowee/repos","events_url":"https://api.github.com/users/wzowee/events{/privacy}","received_events_url":"https://api.github.com/users/wzowee/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-12T08:08:01Z","updated_at":"2015-10-12T08:08:01Z","closed_at":null,"body":"Commit afb8b23f3f9a8cceddc9f6bcaa208b4d48b1462f has broken Devise Authentication in the jj-abrams branch.\r\n\r\nThe change in devise.js from  \r\n\r\n    authenticate(credentials) {\r\n\r\nto \r\n  \r\n    authenticate(identification, password) {\r\n\r\nhas resulted in incorrectly shapped form params being sent to the server.\r\n\r\n    user[email][identification]:test@gmail.com\r\n    user[email][password]:somepassword\r\n\r\nThe problem is being caused by the use of .apply at https://github.com/simplabs/ember-simple-auth/blob/jj-abrams/addon/internal-session.js#L20 , the contents of the args array are being assigned to identification instead of being broken out into the individual arguments."}}