Skip to content
This repository has been archived by the owner on Mar 24, 2021. It is now read-only.

Commit

Permalink
Merge pull request #212 from alphagov/add-not-authorized
Browse files Browse the repository at this point in the history
Add the not-authorized route
  • Loading branch information
jabley committed Jan 2, 2014
2 parents 90d9d5b + d47b372 commit a6f6e45
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions backdrop/admin/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,12 @@ def oauth_authorized():
return redirect(url_for("user_route"))


@app.route("/not-authorized")
@cache_control.nocache
def not_authorized():
return render_template("signon/not_authorized.html")


@app.route("/sign-in")
@cache_control.nocache
def oauth_sign_in():
Expand Down

0 comments on commit a6f6e45

Please sign in to comment.