ios-lab-up / smartup_api

UP API that connects to UPSite
3 stars 0 forks source link

Implement 2FA in API #8

Open luisced opened 1 year ago

luisced commented 1 year ago

Implement 2 factor auth inside the API login process

Features

  1. Each time a user logins for first time, a 6 digit code must be sent via e-mail.
  2. There must be a function called send2FAmail that sends an hmtl-css template with the following info:
    • Name
    • LastName
    • Message that greet the user
    • 6 digit auth number

This feature must be implemented inside login function

FIles: login.utils inside extractUP4UContent, line: 38