{"action":"created","issue":{"url":"https://api.github.com/repos/lynndylanhurley/devise_token_auth/issues/424","labels_url":"https://api.github.com/repos/lynndylanhurley/devise_token_auth/issues/424/labels{/name}","comments_url":"https://api.github.com/repos/lynndylanhurley/devise_token_auth/issues/424/comments","events_url":"https://api.github.com/repos/lynndylanhurley/devise_token_auth/issues/424/events","html_url":"https://github.com/lynndylanhurley/devise_token_auth/issues/424","id":114052360,"number":424,"title":"Sign in using devise login","user":{"login":"dareddov","id":6773940,"avatar_url":"https://avatars.githubusercontent.com/u/6773940?v=3","gravatar_id":"","url":"https://api.github.com/users/dareddov","html_url":"https://github.com/dareddov","followers_url":"https://api.github.com/users/dareddov/followers","following_url":"https://api.github.com/users/dareddov/following{/other_user}","gists_url":"https://api.github.com/users/dareddov/gists{/gist_id}","starred_url":"https://api.github.com/users/dareddov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dareddov/subscriptions","organizations_url":"https://api.github.com/users/dareddov/orgs","repos_url":"https://api.github.com/users/dareddov/repos","events_url":"https://api.github.com/users/dareddov/events{/privacy}","received_events_url":"https://api.github.com/users/dareddov/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-29T13:45:27Z","updated_at":"2015-10-29T16:53:43Z","closed_at":null,"body":"I using login (username or email) to sign in to application, identical as here https://github.com/plataformatec/devise/wiki/How-To:-Allow-users-to-sign-in-using-their-username-or-email-address \r\n\r\nMy POST it looks like it: \r\n``curl -XPOST -H \"Content-Type: application/json\" http://localhost:3000/auth/sign_in -d '{\"login\": \"reporter@domster.pl\", \"password\": \"Secret99\"}'\r\n``\r\n\r\nApplication show me this: \r\n``PG::UndefinedColumn: ERROR:  column \"login\" does not exist``"},"comment":{"url":"https://api.github.com/repos/lynndylanhurley/devise_token_auth/issues/comments/152247118","html_url":"https://github.com/lynndylanhurley/devise_token_auth/issues/424#issuecomment-152247118","issue_url":"https://api.github.com/repos/lynndylanhurley/devise_token_auth/issues/424","id":152247118,"user":{"login":"lynndylanhurley","id":468037,"avatar_url":"https://avatars.githubusercontent.com/u/468037?v=3","gravatar_id":"","url":"https://api.github.com/users/lynndylanhurley","html_url":"https://github.com/lynndylanhurley","followers_url":"https://api.github.com/users/lynndylanhurley/followers","following_url":"https://api.github.com/users/lynndylanhurley/following{/other_user}","gists_url":"https://api.github.com/users/lynndylanhurley/gists{/gist_id}","starred_url":"https://api.github.com/users/lynndylanhurley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lynndylanhurley/subscriptions","organizations_url":"https://api.github.com/users/lynndylanhurley/orgs","repos_url":"https://api.github.com/users/lynndylanhurley/repos","events_url":"https://api.github.com/users/lynndylanhurley/events{/privacy}","received_events_url":"https://api.github.com/users/lynndylanhurley/received_events","type":"User","site_admin":false},"created_at":"2015-10-29T16:53:43Z","updated_at":"2015-10-29T16:53:43Z","body":"Did you create the `login` column in your db?"}}