mirror of
https://github.com/simple-login/app.git
synced 2024-11-10 21:27:10 +01:00
14 lines
406 B
Python
14 lines
406 B
Python
from app.onboarding.base import onboarding_bp
|
|
from flask import render_template, url_for, redirect
|
|
|
|
|
|
@onboarding_bp.route("/", methods=["GET"])
|
|
def index():
|
|
# Do the redirect to ensure cookies are set because they are SameSite=lax/strict
|
|
return redirect(url_for("onboarding.setup"))
|
|
|
|
|
|
@onboarding_bp.route("/setup", methods=["GET"])
|
|
def setup():
|
|
return render_template("onboarding/setup.html")
|