-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(otp): include request ip address in otp email #430
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
there should be a getIp
function that takes care of extracting the correct IP
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm otherwise
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
rename or refactor if necessary to make the function more prominent to other developers.
changes requested have been made. also edited the wording and removed instances of gogovsg as per @LoneRifle's request. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
Problem
We need to allow public officers to quickly trace who attempted to log in to their account for further investigation.
Closes #421
Solution
Pass the request IP into the email service to be added into the OTP mail text.
Before & After Screenshots
BEFORE:
AFTER: