{"action":"created","comment":{"url":"https://api.github.com/repos/sandstreamdev/eoc/pulls/comments/328934119","pull_request_review_id":294140667,"id":328934119,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDMyODkzNDExOQ==","diff_hunk":"@@ -65,12 +71,17 @@ const sendSignUpConfirmationLink = (req, resp) => {\n };\n \n const sendResetPasswordLink = (req, resp) => {\n-  const { email: receiver, displayName, resetToken } = resp.locales;\n+  const {\n+    email: receiver,\n+    expirationDate,\n+    displayName,\n+    resetToken\n+  } = resp.locales;\n   const host = req.get('host');\n+  const expirationTime = new Date(expirationDate).toLocaleString();\n   const resetUrl = `${host}/auth/recovery-password/${resetToken}`;\n   const title = `${PROJECT_NAME} - Reset your password`;\n-  const info =\n-    'Reset your password by clicking reset button. If you have not requested password reset to your account, just ignore this message.';\n+  const info = `Reset your password by clicking reset button. If you have not requested password reset to your account, just ignore this message. <b>Remember that reset button will be only active until ${expirationTime}.</b> `;","path":"server/mailer/index.js","position":37,"original_position":37,"commit_id":"34d7af3ddfe4c667989f0eaf95b0972a6bd312a9","original_commit_id":"34d7af3ddfe4c667989f0eaf95b0972a6bd312a9","user":{"login":"alemikolo","id":25374390,"node_id":"MDQ6VXNlcjI1Mzc0Mzkw","avatar_url":"https://avatars0.githubusercontent.com/u/25374390?v=4","gravatar_id":"","url":"https://api.github.com/users/alemikolo","html_url":"https://github.com/alemikolo","followers_url":"https://api.github.com/users/alemikolo/followers","following_url":"https://api.github.com/users/alemikolo/following{/other_user}","gists_url":"https://api.github.com/users/alemikolo/gists{/gist_id}","starred_url":"https://api.github.com/users/alemikolo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alemikolo/subscriptions","organizations_url":"https://api.github.com/users/alemikolo/orgs","repos_url":"https://api.github.com/users/alemikolo/repos","events_url":"https://api.github.com/users/alemikolo/events{/privacy}","received_events_url":"https://api.github.com/users/alemikolo/received_events","type":"User","site_admin":false},"body":"proposal: what do you think about displaying not only expiration date but time duration also (1 hour,  2 days)?","created_at":"2019-09-27T06:52:16Z","updated_at":"2019-09-27T06:52:46Z","html_url":"https://github.com/sandstreamdev/eoc/pull/359#discussion_r328934119","pull_request_url":"https://api.github.com/repos/sandstreamdev/eoc/pulls/359","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/sandstreamdev/eoc/pulls/comments/328934119"},"html":{"href":"https://github.com/sandstreamdev/eoc/pull/359#discussion_r328934119"},"pull_request":{"href":"https://api.github.com/repos/sandstreamdev/eoc/pulls/359"}}},"pull_request":{"url":"https://api.github.com/repos/sandstreamdev/eoc/pulls/359","id":322014830,"node_id":"MDExOlB1bGxSZXF1ZXN0MzIyMDE0ODMw","html_url":"https://github.com/sandstreamdev/eoc/pull/359","diff_url":"https://github.com/sandstreamdev/eoc/pull/359.diff","patch_url":"https://github.com/sandstreamdev/eoc/pull/359.patch","issue_url":"https://api.github.com/repos/sandstreamdev/eoc/issues/359","number":359,"state":"open","locked":false,"title":"[EOC-493] Send information how long tokens are valid","user":{"login":"adamklepacz","id":27632432,"node_id":"MDQ6VXNlcjI3NjMyNDMy","avatar_url":"https://avatars2.githubusercontent.com/u/27632432?v=4","gravatar_id":"","url":"https://api.github.com/users/adamklepacz","html_url":"https://github.com/adamklepacz","followers_url":"https://api.github.com/users/adamklepacz/followers","following_url":"https://api.github.com/users/adamklepacz/following{/other_user}","gists_url":"https://api.github.com/users/adamklepacz/gists{/gist_id}","starred_url":"https://api.github.com/users/adamklepacz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamklepacz/subscriptions","organizations_url":"https://api.github.com/users/adamklepacz/orgs","repos_url":"https://api.github.com/users/adamklepacz/repos","events_url":"https://api.github.com/users/adamklepacz/events{/privacy}","received_events_url":"https://api.github.com/users/adamklepacz/received_events","type":"User","site_admin":false},"body":"Information about expiration time is now included in the email and bolded. \r\n\r\n<img width=\"834\" alt=\"Zrzut ekranu 2019-09-27 o 08 04 43\" src=\"https://user-images.githubusercontent.com/27632432/65745980-c94b1700-e0fd-11e9-8c8a-516d6775b3f6.png\">\r\n<img width=\"559\" alt=\"Zrzut ekranu 2019-09-27 o 08 05 35\" src=\"https://user-images.githubusercontent.com/27632432/65745981-c9e3ad80-e0fd-11e9-943d-eab6b0881051.png\">\r\n","created_at":"2019-09-27T06:14:52Z","updated_at":"2019-09-27T06:52:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":"be969c21c0c3be24918ad36264259478b6237dc8","assignee":null,"assignees":[],"requested_reviewers":[{"login":"Ciunkos","id":1042119,"node_id":"MDQ6VXNlcjEwNDIxMTk=","avatar_url":"https://avatars2.githubusercontent.com/u/1042119?v=4","gravatar_id":"","url":"https://api.github.com/users/Ciunkos","html_url":"https://github.com/Ciunkos","followers_url":"https://api.github.com/users/Ciunkos/followers","following_url":"https://api.github.com/users/Ciunkos/following{/other_user}","gists_url":"https://api.github.com/users/Ciunkos/gists{/gist_id}","starred_url":"https://api.github.com/users/Ciunkos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ciunkos/subscriptions","organizations_url":"https://api.github.com/users/Ciunkos/orgs","repos_url":"https://api.github.com/users/Ciunkos/repos","events_url":"https://api.github.com/users/Ciunkos/events{/privacy}","received_events_url":"https://api.github.com/users/Ciunkos/received_events","type":"User","site_admin":false},{"login":"marekrozmus","id":26272040,"node_id":"MDQ6VXNlcjI2MjcyMDQw","avatar_url":"https://avatars3.githubusercontent.com/u/26272040?v=4","gravatar_id":"","url":"https://api.github.com/users/marekrozmus","html_url":"https://github.com/marekrozmus","followers_url":"https://api.github.com/users/marekrozmus/followers","following_url":"https://api.github.com/users/marekrozmus/following{/other_user}","gists_url":"https://api.github.com/users/marekrozmus/gists{/gist_id}","starred_url":"https://api.github.com/users/marekrozmus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marekrozmus/subscriptions","organizations_url":"https://api.github.com/users/marekrozmus/orgs","repos_url":"https://api.github.com/users/marekrozmus/repos","events_url":"https://api.github.com/users/marekrozmus/events{/privacy}","received_events_url":"https://api.github.com/users/marekrozmus/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[{"id":1479691946,"node_id":"MDU6TGFiZWwxNDc5NjkxOTQ2","url":"https://api.github.com/repos/sandstreamdev/eoc/labels/CURRENT-SPRINT","name":"CURRENT-SPRINT","color":"006400","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/sandstreamdev/eoc/pulls/359/commits","review_comments_url":"https://api.github.com/repos/sandstreamdev/eoc/pulls/359/comments","review_comment_url":"https://api.github.com/repos/sandstreamdev/eoc/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sandstreamdev/eoc/issues/359/comments","statuses_url":"https://api.github.com/repos/sandstreamdev/eoc/statuses/34d7af3ddfe4c667989f0eaf95b0972a6bd312a9","head":{"label":"sandstreamdev:eoc_493_send_information_how_long_tokens_are_valid","ref":"eoc_493_send_information_how_long_tokens_are_valid","sha":"34d7af3ddfe4c667989f0eaf95b0972a6bd312a9","user":{"login":"sandstreamdev","id":44231525,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ0MjMxNTI1","avatar_url":"https://avatars3.githubusercontent.com/u/44231525?v=4","gravatar_id":"","url":"https://api.github.com/users/sandstreamdev","html_url":"https://github.com/sandstreamdev","followers_url":"https://api.github.com/users/sandstreamdev/followers","following_url":"https://api.github.com/users/sandstreamdev/following{/other_user}","gists_url":"https://api.github.com/users/sandstreamdev/gists{/gist_id}","starred_url":"https://api.github.com/users/sandstreamdev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sandstreamdev/subscriptions","organizations_url":"https://api.github.com/users/sandstreamdev/orgs","repos_url":"https://api.github.com/users/sandstreamdev/repos","events_url":"https://api.github.com/users/sandstreamdev/events{/privacy}","received_events_url":"https://api.github.com/users/sandstreamdev/received_events","type":"Organization","site_admin":false},"repo":{"id":158361394,"node_id":"MDEwOlJlcG9zaXRvcnkxNTgzNjEzOTQ=","name":"eoc","full_name":"sandstreamdev/eoc","private":false,"owner":{"login":"sandstreamdev","id":44231525,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ0MjMxNTI1","avatar_url":"https://avatars3.githubusercontent.com/u/44231525?v=4","gravatar_id":"","url":"https://api.github.com/users/sandstreamdev","html_url":"https://github.com/sandstreamdev","followers_url":"https://api.github.com/users/sandstreamdev/followers","following_url":"https://api.github.com/users/sandstreamdev/following{/other_user}","gists_url":"https://api.github.com/users/sandstreamdev/gists{/gist_id}","starred_url":"https://api.github.com/users/sandstreamdev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sandstreamdev/subscriptions","organizations_url":"https://api.github.com/users/sandstreamdev/orgs","repos_url":"https://api.github.com/users/sandstreamdev/repos","events_url":"https://api.github.com/users/sandstreamdev/events{/privacy}","received_events_url":"https://api.github.com/users/sandstreamdev/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/sandstreamdev/eoc","description":"Do you know sth like this? - NO! Coffee has run out! Do sth with it!  Therefore, we decided to design and develop a very simple tool that will help us to act as soon as possible… before the level of caffeine in our blood will drop significantly :).  Why EOC - End of coffee? Well, it was another solution, but we handle it in more humanity way :).","fork":false,"url":"https://api.github.com/repos/sandstreamdev/eoc","forks_url":"https://api.github.com/repos/sandstreamdev/eoc/forks","keys_url":"https://api.github.com/repos/sandstreamdev/eoc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sandstreamdev/eoc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sandstreamdev/eoc/teams","hooks_url":"https://api.github.com/repos/sandstreamdev/eoc/hooks","issue_events_url":"https://api.github.com/repos/sandstreamdev/eoc/issues/events{/number}","events_url":"https://api.github.com/repos/sandstreamdev/eoc/events","assignees_url":"https://api.github.com/repos/sandstreamdev/eoc/assignees{/user}","branches_url":"https://api.github.com/repos/sandstreamdev/eoc/branches{/branch}","tags_url":"https://api.github.com/repos/sandstreamdev/eoc/tags","blobs_url":"https://api.github.com/repos/sandstreamdev/eoc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sandstreamdev/eoc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sandstreamdev/eoc/git/refs{/sha}","trees_url":"https://api.github.com/repos/sandstreamdev/eoc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sandstreamdev/eoc/statuses/{sha}","languages_url":"https://api.github.com/repos/sandstreamdev/eoc/languages","stargazers_url":"https://api.github.com/repos/sandstreamdev/eoc/stargazers","contributors_url":"https://api.github.com/repos/sandstreamdev/eoc/contributors","subscribers_url":"https://api.github.com/repos/sandstreamdev/eoc/subscribers","subscription_url":"https://api.github.com/repos/sandstreamdev/eoc/subscription","commits_url":"https://api.github.com/repos/sandstreamdev/eoc/commits{/sha}","git_commits_url":"https://api.github.com/repos/sandstreamdev/eoc/git/commits{/sha}","comments_url":"https://api.github.com/repos/sandstreamdev/eoc/comments{/number}","issue_comment_url":"https://api.github.com/repos/sandstreamdev/eoc/issues/comments{/number}","contents_url":"https://api.github.com/repos/sandstreamdev/eoc/contents/{+path}","compare_url":"https://api.github.com/repos/sandstreamdev/eoc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sandstreamdev/eoc/merges","archive_url":"https://api.github.com/repos/sandstreamdev/eoc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sandstreamdev/eoc/downloads","issues_url":"https://api.github.com/repos/sandstreamdev/eoc/issues{/number}","pulls_url":"https://api.github.com/repos/sandstreamdev/eoc/pulls{/number}","milestones_url":"https://api.github.com/repos/sandstreamdev/eoc/milestones{/number}","notifications_url":"https://api.github.com/repos/sandstreamdev/eoc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sandstreamdev/eoc/labels{/name}","releases_url":"https://api.github.com/repos/sandstreamdev/eoc/releases{/id}","deployments_url":"https://api.github.com/repos/sandstreamdev/eoc/deployments","created_at":"2018-11-20T09:12:00Z","updated_at":"2019-09-26T11:13:22Z","pushed_at":"2019-09-27T06:42:54Z","git_url":"git://github.com/sandstreamdev/eoc.git","ssh_url":"git@github.com:sandstreamdev/eoc.git","clone_url":"https://github.com/sandstreamdev/eoc.git","svn_url":"https://github.com/sandstreamdev/eoc","homepage":"","size":9742,"stargazers_count":3,"watchers_count":3,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":4,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":4,"watchers":3,"default_branch":"master"}},"base":{"label":"sandstreamdev:master","ref":"master","sha":"16e6679ab111334e3c575ba6a57114f43e7db63b","user":{"login":"sandstreamdev","id":44231525,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ0MjMxNTI1","avatar_url":"https://avatars3.githubusercontent.com/u/44231525?v=4","gravatar_id":"","url":"https://api.github.com/users/sandstreamdev","html_url":"https://github.com/sandstreamdev","followers_url":"https://api.github.com/users/sandstreamdev/followers","following_url":"https://api.github.com/users/sandstreamdev/following{/other_user}","gists_url":"https://api.github.com/users/sandstreamdev/gists{/gist_id}","starred_url":"https://api.github.com/users/sandstreamdev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sandstreamdev/subscriptions","organizations_url":"https://api.github.com/users/sandstreamdev/orgs","repos_url":"https://api.github.com/users/sandstreamdev/repos","events_url":"https://api.github.com/users/sandstreamdev/events{/privacy}","received_events_url":"https://api.github.com/users/sandstreamdev/received_events","type":"Organization","site_admin":false},"repo":{"id":158361394,"node_id":"MDEwOlJlcG9zaXRvcnkxNTgzNjEzOTQ=","name":"eoc","full_name":"sandstreamdev/eoc","private":false,"owner":{"login":"sandstreamdev","id":44231525,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ0MjMxNTI1","avatar_url":"https://avatars3.githubusercontent.com/u/44231525?v=4","gravatar_id":"","url":"https://api.github.com/users/sandstreamdev","html_url":"https://github.com/sandstreamdev","followers_url":"https://api.github.com/users/sandstreamdev/followers","following_url":"https://api.github.com/users/sandstreamdev/following{/other_user}","gists_url":"https://api.github.com/users/sandstreamdev/gists{/gist_id}","starred_url":"https://api.github.com/users/sandstreamdev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sandstreamdev/subscriptions","organizations_url":"https://api.github.com/users/sandstreamdev/orgs","repos_url":"https://api.github.com/users/sandstreamdev/repos","events_url":"https://api.github.com/users/sandstreamdev/events{/privacy}","received_events_url":"https://api.github.com/users/sandstreamdev/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/sandstreamdev/eoc","description":"Do you know sth like this? - NO! Coffee has run out! Do sth with it!  Therefore, we decided to design and develop a very simple tool that will help us to act as soon as possible… before the level of caffeine in our blood will drop significantly :).  Why EOC - End of coffee? Well, it was another solution, but we handle it in more humanity way :).","fork":false,"url":"https://api.github.com/repos/sandstreamdev/eoc","forks_url":"https://api.github.com/repos/sandstreamdev/eoc/forks","keys_url":"https://api.github.com/repos/sandstreamdev/eoc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sandstreamdev/eoc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sandstreamdev/eoc/teams","hooks_url":"https://api.github.com/repos/sandstreamdev/eoc/hooks","issue_events_url":"https://api.github.com/repos/sandstreamdev/eoc/issues/events{/number}","events_url":"https://api.github.com/repos/sandstreamdev/eoc/events","assignees_url":"https://api.github.com/repos/sandstreamdev/eoc/assignees{/user}","branches_url":"https://api.github.com/repos/sandstreamdev/eoc/branches{/branch}","tags_url":"https://api.github.com/repos/sandstreamdev/eoc/tags","blobs_url":"https://api.github.com/repos/sandstreamdev/eoc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sandstreamdev/eoc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sandstreamdev/eoc/git/refs{/sha}","trees_url":"https://api.github.com/repos/sandstreamdev/eoc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sandstreamdev/eoc/statuses/{sha}","languages_url":"https://api.github.com/repos/sandstreamdev/eoc/languages","stargazers_url":"https://api.github.com/repos/sandstreamdev/eoc/stargazers","contributors_url":"https://api.github.com/repos/sandstreamdev/eoc/contributors","subscribers_url":"https://api.github.com/repos/sandstreamdev/eoc/subscribers","subscription_url":"https://api.github.com/repos/sandstreamdev/eoc/subscription","commits_url":"https://api.github.com/repos/sandstreamdev/eoc/commits{/sha}","git_commits_url":"https://api.github.com/repos/sandstreamdev/eoc/git/commits{/sha}","comments_url":"https://api.github.com/repos/sandstreamdev/eoc/comments{/number}","issue_comment_url":"https://api.github.com/repos/sandstreamdev/eoc/issues/comments{/number}","contents_url":"https://api.github.com/repos/sandstreamdev/eoc/contents/{+path}","compare_url":"https://api.github.com/repos/sandstreamdev/eoc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sandstreamdev/eoc/merges","archive_url":"https://api.github.com/repos/sandstreamdev/eoc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sandstreamdev/eoc/downloads","issues_url":"https://api.github.com/repos/sandstreamdev/eoc/issues{/number}","pulls_url":"https://api.github.com/repos/sandstreamdev/eoc/pulls{/number}","milestones_url":"https://api.github.com/repos/sandstreamdev/eoc/milestones{/number}","notifications_url":"https://api.github.com/repos/sandstreamdev/eoc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sandstreamdev/eoc/labels{/name}","releases_url":"https://api.github.com/repos/sandstreamdev/eoc/releases{/id}","deployments_url":"https://api.github.com/repos/sandstreamdev/eoc/deployments","created_at":"2018-11-20T09:12:00Z","updated_at":"2019-09-26T11:13:22Z","pushed_at":"2019-09-27T06:42:54Z","git_url":"git://github.com/sandstreamdev/eoc.git","ssh_url":"git@github.com:sandstreamdev/eoc.git","clone_url":"https://github.com/sandstreamdev/eoc.git","svn_url":"https://github.com/sandstreamdev/eoc","homepage":"","size":9742,"stargazers_count":3,"watchers_count":3,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":4,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":4,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sandstreamdev/eoc/pulls/359"},"html":{"href":"https://github.com/sandstreamdev/eoc/pull/359"},"issue":{"href":"https://api.github.com/repos/sandstreamdev/eoc/issues/359"},"comments":{"href":"https://api.github.com/repos/sandstreamdev/eoc/issues/359/comments"},"review_comments":{"href":"https://api.github.com/repos/sandstreamdev/eoc/pulls/359/comments"},"review_comment":{"href":"https://api.github.com/repos/sandstreamdev/eoc/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sandstreamdev/eoc/pulls/359/commits"},"statuses":{"href":"https://api.github.com/repos/sandstreamdev/eoc/statuses/34d7af3ddfe4c667989f0eaf95b0972a6bd312a9"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"alemikolo"}}