We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bcd0f39 commit a51912cCopy full SHA for a51912c
2 files changed
app.py
@@ -15,7 +15,7 @@
15
def index():
16
if not session.get("user"):
17
return redirect(url_for("login"))
18
- return render_template('index.html', user=session["user"])
+ return render_template('index.html', user=session["user"], version=msal.__version__)
19
20
@app.route("/login")
21
def login():
templates/index.html
@@ -5,6 +5,7 @@
5
</head>
6
<body>
7
<h1>Microsoft Identity Python Web App</h1>
8
+ <h2>Powered by MSAL Python {{ version }}</h2>
9
Welcome {{ user.get("name") }}!
10
<li><a href='/graphcall'>Call Microsoft Graph API</a></li>
11
<li><a href="/logout">Logout</a></li>
0 commit comments