MCPcopy
hub / github.com/ndleah/python-mini-project / logout

Function logout

Firebase_Authentication_Using_Flask/main.py:72–76  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

70'''
71@app.route("/logout",methods = ['GET','POST'])
72def logout():
73 session.pop('user')
74 session.pop('email')
75 flash("User logged out successfully!")
76 return redirect("/")
77
78
79'''This is an important middleware that run before any request made to flask application and checks

Callers

nothing calls this directly

Calls 1

popMethod · 0.45

Tested by

no test coverage detected