enable IndieAuth endpoint

This commit is contained in:
Chaiwat Suttipongsakul 2019-02-02 23:49:32 +07:00
parent cb76f80752
commit f63d02dfc0

2
app.py
View file

@ -2089,7 +2089,7 @@ def indieauth_flow():
return redirect(red) return redirect(red)
# @app.route('/indieauth', methods=['GET', 'POST']) @app.route('/indieauth', methods=['GET', 'POST'])
def indieauth_endpoint(): def indieauth_endpoint():
if request.method == "GET": if request.method == "GET":
if not session.get("logged_in"): if not session.get("logged_in"):