Skip to content

Commit 03edae5

Browse files
awolfdenAdam Wolfman
andauthored
Remove unused route and update css (#32)
Co-authored-by: Adam Wolfman <[email protected]>
1 parent ce76cfd commit 03edae5

File tree

2 files changed

+7
-17
lines changed
  • python-flask-audit-logs-example/static

2 files changed

+7
-17
lines changed

python-flask-audit-logs-example/static/login.css

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,10 @@ a:visited {
9292
width: 15vw;
9393
}
9494

95+
.width-100vw {
96+
width: 100vw;
97+
}
98+
9599
.width-150px {
96100
width: 150px;
97101
}
@@ -424,12 +428,6 @@ pre.prettyprint {
424428
margin-left: 65px;
425429
}
426430

427-
th {
428-
text-align: center;
429-
font-weight: bolder;
430-
font-size: large;
431-
}
432-
433431
tr {
434432
text-align: center;
435433
border-bottom: 1px solid #ebebf2;
@@ -452,6 +450,9 @@ table {
452450
}
453451

454452
th {
453+
text-align: center;
454+
font-weight: bolder;
455+
font-size: large;
455456
background-color: #e3e3e3;
456457
border-right: none;
457458
border-left: none;

python-flask-magic-link-example/app.py

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -26,17 +26,6 @@ def hello_world():
2626
return render_template("login.html")
2727

2828

29-
@app.route("/callback")
30-
def callback():
31-
code = request.args.get("code")
32-
profile_and_token = workos_client.sso.get_profile_and_token(code)
33-
34-
# Use the information in `profile` for further business logic.
35-
profile = profile_and_token.profile
36-
37-
return redirect("/")
38-
39-
4029
@app.route("/passwordless_auth", methods=["POST"])
4130
def passwordless_auth():
4231
email = request.form["email"]

0 commit comments

Comments
 (0)