Skip to content
Permalink
3339c012d1
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
22 lines (12 sloc) 379 Bytes
import flask
from jinja_markdown import MarkdownExtension
#from flask_httpauth import HTTPBasicAuth
import flask_httpauth
app = flask.Flask(__name__)
app.secret_key = "Sekr3t_Tok3n"
app.config.update(
SESSION_COOKIE_SAMESITE='Strict',
)
app.jinja_env.add_extension(MarkdownExtension)
auth = flask_httpauth.HTTPBasicAuth()
bauth = flask_httpauth.HTTPTokenAuth()