I'm addicted to modified docs

This commit is contained in:
Nomi Nonsense (Nonszy) 2023-09-10 13:32:38 +07:00
parent 76c2880a8d
commit ee8344bf0f
2 changed files with 6 additions and 2 deletions

View File

@ -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

View File

@ -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: