MCPcopy Create free account
hub / github.com/pallets/flask / login

Function login

tests/test_basic.py:576–579  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

574def test_session_refresh_vary(app, client):
575 @app.get("/login")
576 def login():
577 flask.session["user_id"] = 1
578 flask.session.permanent = True
579 return ""
580
581 @app.get("/ignored")
582 def ignored():

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected