|
Not sure if this is worthy of a showoff but i've never seen it done before. This is just basic functionality, only worked on this for 30 minutes.
What is it? Used Java's email API's to send emails using Gmail's SMTs.
Shown below: Logging in and getting an email notifying of a login with IP address.
Video, takes 3-5 seconds to get the email after login
https://i.gyazo.com/9e3a0dbdb0fa42b5...257375ae7e.mp4
Wow, this is revolutionary
I'm writing an authentication system as we speak. Care to share this? I can make it to it sends a random code to the player's email that way.
It is basic functionality, but yet it can be very powerful. Personally I would just log the logins, and display them on the user control panel or something like that. I would email the user if the password changed though, or even have email confirmation for password changes.
Why don't you use 2FA services that already exist? Like Authy for example.
I guess if the user had the choice between email code or code from Authy when they setup 2FA, it would be better.
Perhaps my thread can give you inspiration: https://www.rune-server.ee/runescape...n-angular.html
Also if you read the posts, Scu11 shared a link that shows you how to send emails.
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |