Skip to content

Commit

Permalink
Remove unused error catch block
Browse files Browse the repository at this point in the history
  • Loading branch information
yizshi committed Mar 25, 2021
1 parent 8315b1e commit 6d83b95
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions demo/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,6 @@ def login_post():
# This route URL must match the redirect_uri passed to the duo client
@app.route("/duo-callback")
def duo_callback():
if request.args.get('error'):
return "Got Error: {}".format(request.args)

# Get state to verify consistency and originality
state = request.args.get('state')

Expand Down

0 comments on commit 6d83b95

Please sign in to comment.