From ee8344bf0fbfaf128bc0adbb810feca3bb9ebadb Mon Sep 17 00:00:00 2001 From: norman-andrians Date: Sun, 10 Sep 2023 13:32:38 +0700 Subject: [PATCH] I'm addicted to modified docs --- README.md | 6 +++++- main.py | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 2798bd1..717b1e0 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,13 @@ # OTP with meme image -Leisure project. A REST API that sends a one-time authentication code (a.k.a OTP) to email, but the code is in the text of a meme image. +Idk why i made this. A REST API that sends a one-time authentication code (a.k.a OTP) to email, but the code is in the text of a meme image. One of the projects that gives me a break from schoolwork ## Usage + +Packages required: +- flask + Setup: - Create a new `.env` file - Add your `EMAIL_SENDER` and `EMAIL_PASSWORD` in your `.env` file diff --git a/main.py b/main.py index 00e810f..0e1874d 100644 --- a/main.py +++ b/main.py @@ -79,7 +79,7 @@ def send_email(): if mail_sender is None or mail_password is None: return jsonify({ "status": 400, - "error": "Bro did you forget to add the sender email and email password variables in the .env file?" + "error": "Bro did you forget to add the sender email and email password variables?" }), 400 if mail_receiver is None: