{"action":"created","issue":{"url":"https://api.github.com/repos/stormpath/express-stormpath/issues/106","labels_url":"https://api.github.com/repos/stormpath/express-stormpath/issues/106/labels{/name}","comments_url":"https://api.github.com/repos/stormpath/express-stormpath/issues/106/comments","events_url":"https://api.github.com/repos/stormpath/express-stormpath/issues/106/events","html_url":"https://github.com/stormpath/express-stormpath/issues/106","id":108111862,"number":106,"title":"Login view config doesn't respect enabled","user":{"login":"erbridge","id":1027364,"avatar_url":"https://avatars.githubusercontent.com/u/1027364?v=3","gravatar_id":"","url":"https://api.github.com/users/erbridge","html_url":"https://github.com/erbridge","followers_url":"https://api.github.com/users/erbridge/followers","following_url":"https://api.github.com/users/erbridge/following{/other_user}","gists_url":"https://api.github.com/users/erbridge/gists{/gist_id}","starred_url":"https://api.github.com/users/erbridge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erbridge/subscriptions","organizations_url":"https://api.github.com/users/erbridge/orgs","repos_url":"https://api.github.com/users/erbridge/repos","events_url":"https://api.github.com/users/erbridge/events{/privacy}","received_events_url":"https://api.github.com/users/erbridge/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-09-24T11:27:00Z","updated_at":"2015-11-06T23:05:36Z","closed_at":"2015-11-06T23:05:36Z","body":"I'm trying to implement my own login view and switching `web.login.enabled = false` doesn't disable the login endpoint.\r\n\r\n```js\r\n{\r\n  expand: {\r\n    customData: true,\r\n  },\r\n\r\n  website: true,\r\n\r\n  web: {\r\n    register: {\r\n      enabled:       true,\r\n      autoAuthorize: true,\r\n      fieldOrder: [\r\n        'username',\r\n        'email',\r\n        'givenName',\r\n        'surname',\r\n        'password',\r\n        'passwordConfirm',\r\n      ],\r\n    },\r\n    login: {\r\n      enabled: false,\r\n    },\r\n    logout: {\r\n      enabled: true,\r\n    },\r\n    forgotPassword: {\r\n      enabled: true,\r\n    },\r\n    changePassword: {\r\n      enabled:   true,\r\n      autoLogin: true,\r\n    },\r\n  },\r\n}\r\n```"},"comment":{"url":"https://api.github.com/repos/stormpath/express-stormpath/issues/comments/154571010","html_url":"https://github.com/stormpath/express-stormpath/issues/106#issuecomment-154571010","issue_url":"https://api.github.com/repos/stormpath/express-stormpath/issues/106","id":154571010,"user":{"login":"robertjd","id":132343,"avatar_url":"https://avatars.githubusercontent.com/u/132343?v=3","gravatar_id":"","url":"https://api.github.com/users/robertjd","html_url":"https://github.com/robertjd","followers_url":"https://api.github.com/users/robertjd/followers","following_url":"https://api.github.com/users/robertjd/following{/other_user}","gists_url":"https://api.github.com/users/robertjd/gists{/gist_id}","starred_url":"https://api.github.com/users/robertjd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robertjd/subscriptions","organizations_url":"https://api.github.com/users/robertjd/orgs","repos_url":"https://api.github.com/users/robertjd/repos","events_url":"https://api.github.com/users/robertjd/events{/privacy}","received_events_url":"https://api.github.com/users/robertjd/received_events","type":"User","site_admin":false},"created_at":"2015-11-06T23:05:36Z","updated_at":"2015-11-06T23:05:36Z","body":"This should be fixed in 2.1.0, please re-open if that is not the case."}}