mirror of
https://github.com/simple-login/app.git
synced 2024-11-16 17:08:30 +01:00
13 lines
406 B
Python
13 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")
|