Version information:
phabricator: 05afa15ce649ee208cf3c022c75aa85ae390eabc (Thu, Jul 4)
arcanist: f43c63ef5aaafaa8bf32ba4784d167a0448efd1a (Dec 20 2018)
phutil: 1ce011bc65687b2571c839bc1a0439cb1b0cdfd6 (Wed, Jul 10)
Steps to reproduce:
- Make someone else be not logged into Phabricator
- Make someone else go to login page at https://phabricator.example.com/auth/start/
- Make someone else click "Send a login link to your email address"
- Make someone else enter your email address.
- Receive an email:
Subject: [Phabricator] Account Login Link
You can use this login link to regain access to your Phabricator account:
https://phabricator.example.com/login/once/reset/xxx/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/
Actual outcome:
- Confusion
Expected outcome:
- Include a sentence that you receive this message because someone requested a login link for Phabricator for your email address.
- Include a sentence that you can ignore the message if you did not request this yourself.
- Potentially include in that email the IP address of the machine that requested the login link.
Maybe something like:
Someone, probably you, from IP address xxx.xxx.xxx.xxx, has requested a login link for https://phabricator.example.com.
You can use this login link to regain access to your Phabricator account:
https://phabricator.example.com/login/once/reset/xxx/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/
If you did not request a login link, ignore this email.
Sugar on top (feel very free to ignore, or move to separate tasks if this makes sense?):
- Potentially don't allow the "Send a login link to your email address" action at all if the corresponding Phab account is already only linked to external accounts for authentication and the installation does not use passwords? But I might lack technical understanding here.
- Potentially log this action under https://phabricator.example.com/people/logs/query/all/ to also allow admins to see the IP address used and identify patterns.