{"action":"created","issue":{"url":"https://api.github.com/repos/RocketChat/Rocket.Chat/issues/10106","repository_url":"https://api.github.com/repos/RocketChat/Rocket.Chat","labels_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/issues/10106/labels{/name}","comments_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/issues/10106/comments","events_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/issues/10106/events","html_url":"https://github.com/RocketChat/Rocket.Chat/issues/10106","id":304439870,"number":10106,"title":"Missing username or email on activation request","user":{"login":"tboerger","id":156964,"avatar_url":"https://avatars3.githubusercontent.com/u/156964?v=4","gravatar_id":"","url":"https://api.github.com/users/tboerger","html_url":"https://github.com/tboerger","followers_url":"https://api.github.com/users/tboerger/followers","following_url":"https://api.github.com/users/tboerger/following{/other_user}","gists_url":"https://api.github.com/users/tboerger/gists{/gist_id}","starred_url":"https://api.github.com/users/tboerger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tboerger/subscriptions","organizations_url":"https://api.github.com/users/tboerger/orgs","repos_url":"https://api.github.com/users/tboerger/repos","events_url":"https://api.github.com/users/tboerger/events{/privacy}","received_events_url":"https://api.github.com/users/tboerger/received_events","type":"User","site_admin":false},"labels":[{"id":290365978,"url":"https://api.github.com/repos/RocketChat/Rocket.Chat/labels/feat:%20accounts","name":"feat: accounts","color":"207de5","default":false},{"id":213300653,"url":"https://api.github.com/repos/RocketChat/Rocket.Chat/labels/type:%20bug","name":"type: bug","color":"d93f0b","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/RocketChat/Rocket.Chat/milestones/101","html_url":"https://github.com/RocketChat/Rocket.Chat/milestone/101","labels_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/milestones/101/labels","id":2998413,"number":101,"title":"0.63.0","description":"","creator":{"login":"rodrigok","id":234261,"avatar_url":"https://avatars1.githubusercontent.com/u/234261?v=4","gravatar_id":"","url":"https://api.github.com/users/rodrigok","html_url":"https://github.com/rodrigok","followers_url":"https://api.github.com/users/rodrigok/followers","following_url":"https://api.github.com/users/rodrigok/following{/other_user}","gists_url":"https://api.github.com/users/rodrigok/gists{/gist_id}","starred_url":"https://api.github.com/users/rodrigok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rodrigok/subscriptions","organizations_url":"https://api.github.com/users/rodrigok/orgs","repos_url":"https://api.github.com/users/rodrigok/repos","events_url":"https://api.github.com/users/rodrigok/events{/privacy}","received_events_url":"https://api.github.com/users/rodrigok/received_events","type":"User","site_admin":false},"open_issues":60,"closed_issues":76,"state":"open","created_at":"2017-12-26T17:42:47Z","updated_at":"2018-03-28T00:57:17Z","due_on":"2018-04-03T07:00:00Z","closed_at":null},"comments":1,"created_at":"2018-03-12T16:15:46Z","updated_at":"2018-03-28T13:10:24Z","closed_at":null,"author_association":"NONE","body":"### Description:\r\n\r\nWe enabled the option that new registrations have to be enabled by an administrator, the email gets sent out like it should be, but the email is missing the information like name or email.\r\n\r\n### Server Setup Information:\r\n\r\n* Version of Rocket.Chat Server: 0.62.2\r\n* Operating System: Ubuntu 16.04\r\n* Deployment Method(snap/docker/tar/etc): Docker\r\n* Number of Running Instances: 1\r\n* DB Replicaset Oplog: No\r\n* Node Version: v8.9.4\r\n* mongoDB Version: v3.6.2\r\n\r\n### Steps to Reproduce:\r\n\r\n1. Activate option to require admin to enable new registered users\r\n2. Provide proper SMTP credentials\r\n3. Register an user\r\n\r\n### Expected behavior:\r\n\r\nThe admins receive an email that shows the name and the email address, like it's mentioned at https://github.com/RocketChat/Rocket.Chat/blob/e899d2db51abaa66613b73fbcc57c49cd1dfa64f/packages/rocketchat-i18n/i18n/en.i18n.json#L61-L62\r\n\r\n### Actual behavior:\r\n\r\nThe admins receive an email without a name and empty `()`. I have not investigated the exact content of the variables, but possibly https://github.com/RocketChat/Rocket.Chat/blob/e899d2db51abaa66613b73fbcc57c49cd1dfa64f/server/lib/accounts.js#L160 got to use `user` instead of `options`?\r\n"},"comment":{"url":"https://api.github.com/repos/RocketChat/Rocket.Chat/issues/comments/376880774","html_url":"https://github.com/RocketChat/Rocket.Chat/issues/10106#issuecomment-376880774","issue_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/issues/10106","id":376880774,"user":{"login":"tboerger","id":156964,"avatar_url":"https://avatars3.githubusercontent.com/u/156964?v=4","gravatar_id":"","url":"https://api.github.com/users/tboerger","html_url":"https://github.com/tboerger","followers_url":"https://api.github.com/users/tboerger/followers","following_url":"https://api.github.com/users/tboerger/following{/other_user}","gists_url":"https://api.github.com/users/tboerger/gists{/gist_id}","starred_url":"https://api.github.com/users/tboerger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tboerger/subscriptions","organizations_url":"https://api.github.com/users/tboerger/orgs","repos_url":"https://api.github.com/users/tboerger/repos","events_url":"https://api.github.com/users/tboerger/events{/privacy}","received_events_url":"https://api.github.com/users/tboerger/received_events","type":"User","site_admin":false},"created_at":"2018-03-28T13:10:24Z","updated_at":"2018-03-28T13:10:24Z","author_association":"NONE","body":"If somebody can confirm the `options` just needs to be replaced by `user` I can prepare a PR to solve that."}}
{"actor":{"display_login":"tboerger"}}