{"action":"opened","issue":{"url":"https://api.github.com/repos/gitlabhq/gitlabhq/issues/9471","labels_url":"https://api.github.com/repos/gitlabhq/gitlabhq/issues/9471/labels{/name}","comments_url":"https://api.github.com/repos/gitlabhq/gitlabhq/issues/9471/comments","events_url":"https://api.github.com/repos/gitlabhq/gitlabhq/issues/9471/events","html_url":"https://github.com/gitlabhq/gitlabhq/issues/9471","id":96573734,"number":9471,"title":"LDAP users require a \"mail\" field set, but is not documented anywhere.","user":{"login":"sean-clayton","id":1108160,"avatar_url":"https://avatars.githubusercontent.com/u/1108160?v=3","gravatar_id":"","url":"https://api.github.com/users/sean-clayton","html_url":"https://github.com/sean-clayton","followers_url":"https://api.github.com/users/sean-clayton/followers","following_url":"https://api.github.com/users/sean-clayton/following{/other_user}","gists_url":"https://api.github.com/users/sean-clayton/gists{/gist_id}","starred_url":"https://api.github.com/users/sean-clayton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sean-clayton/subscriptions","organizations_url":"https://api.github.com/users/sean-clayton/orgs","repos_url":"https://api.github.com/users/sean-clayton/repos","events_url":"https://api.github.com/users/sean-clayton/events{/privacy}","received_events_url":"https://api.github.com/users/sean-clayton/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-22T13:53:11Z","updated_at":"2015-07-22T13:53:11Z","closed_at":null,"body":"**Steps to Reproduce:**\r\n0. Setup LDAP on GitLab like normal\r\n0. Have an LDAP user *not* have their \"mail\" field set (or any other email-like field)\r\n0. Sign into GitLab with that user\r\n0. Observe that you are asked to change your email to complete your profile, but you can't because LDAP users have their email field disabled\r\n\r\n**Steps to fix:**\r\n0. Make the user have a \"mail\" field set\r\n\r\nRelated: #8575"}}