{"action":"opened","issue":{"url":"https://api.github.com/repos/web2py/web2py/issues/1213","repository_url":"https://api.github.com/repos/web2py/web2py","labels_url":"https://api.github.com/repos/web2py/web2py/issues/1213/labels{/name}","comments_url":"https://api.github.com/repos/web2py/web2py/issues/1213/comments","events_url":"https://api.github.com/repos/web2py/web2py/issues/1213/events","html_url":"https://github.com/web2py/web2py/issues/1213","id":140515153,"number":1213,"title":"auth bug with non-standard password","user":{"login":"villas","id":4347549,"avatar_url":"https://avatars.githubusercontent.com/u/4347549?v=3","gravatar_id":"","url":"https://api.github.com/users/villas","html_url":"https://github.com/villas","followers_url":"https://api.github.com/users/villas/followers","following_url":"https://api.github.com/users/villas/following{/other_user}","gists_url":"https://api.github.com/users/villas/gists{/gist_id}","starred_url":"https://api.github.com/users/villas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/villas/subscriptions","organizations_url":"https://api.github.com/users/villas/orgs","repos_url":"https://api.github.com/users/villas/repos","events_url":"https://api.github.com/users/villas/events{/privacy}","received_events_url":"https://api.github.com/users/villas/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-03-13T18:48:39Z","updated_at":"2016-03-13T18:48:39Z","closed_at":null,"body":"Change password:  auth.settings.password_field='password2'\r\nThen try to use auth.  e.g.  simply type:  auth()\r\n\r\nIn tools.py at around line 3300\r\n     k = self.settings.register_fields.index(\"password\")\r\npassword seems to be hard-coded.\r\n\r\nChange to:\r\n     k = self.settings.register_fields.index(passfield)\r\n\r\nI'm not sure whether there are other instances of password being hard-coded but the above change seems to help. \r\n\r\nBest wishes,  villas"}}