mirror of
https://github.com/kennethreitz/replit-py.git
synced 2026-06-05 23:10:18 +00:00
Use new login_res kwarg name for needs_sign_in
This commit is contained in:
@@ -4,7 +4,7 @@ app = maqpy.App(__name__)
|
||||
|
||||
|
||||
@app.route("/")
|
||||
@maqpy.needs_sign_in(login_html=f"Hello! {maqpy.sign_in_snippet}")
|
||||
@maqpy.needs_sign_in(login_res=f"Hello! {maqpy.sign_in_snippet}")
|
||||
def index():
|
||||
return "Index function"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user