add password protection
This commit is contained in:
@@ -4,4 +4,4 @@ app = Flask(__name__)
|
||||
|
||||
import autoreply_editor.main
|
||||
|
||||
app.config.from_pyfile("config.py")
|
||||
app.config.from_pyfile("../config.py")
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
MESSAGE_FILE = "message.txt"
|
||||
@@ -1,5 +1,8 @@
|
||||
from autoreply_editor import app
|
||||
from flask import Flask, request, render_template, redirect
|
||||
from flask_basicauth import BasicAuth
|
||||
|
||||
basic_auth = BasicAuth(app)
|
||||
|
||||
@app.route("/")
|
||||
def index():
|
||||
|
||||
Reference in New Issue
Block a user