diff options
author | Griffin Smith <grfn@gws.fyi> | 2021-12-24T17·11-0500 |
---|---|---|
committer | clbot <clbot@tvl.fyi> | 2021-12-24T17·58+0000 |
commit | b2ded921a42b5ff23603d49e80552f60547360a0 (patch) | |
tree | 0d6fd15f8f01c638244817b6be85f9b28a797ddd /users/grfn/bbbg | |
parent | 371a444eb776873848868819e9e7a08c7d810947 (diff) |
fix(grfn/bbbg): Properly use dynamic var for auth check r/3355
Change-Id: If457999d1f4b6d3f2f6b6de8cdbdbceb8f399796 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4571 Tested-by: BuildkiteCI Reviewed-by: grfn <grfn@gws.fyi> Autosubmit: grfn <grfn@gws.fyi>
Diffstat (limited to 'users/grfn/bbbg')
-rw-r--r-- | users/grfn/bbbg/src/bbbg/handlers/core.clj | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/users/grfn/bbbg/src/bbbg/handlers/core.clj b/users/grfn/bbbg/src/bbbg/handlers/core.clj index 37561c25e1a3..d8359bc1881c 100644 --- a/users/grfn/bbbg/src/bbbg/handlers/core.clj +++ b/users/grfn/bbbg/src/bbbg/handlers/core.clj @@ -28,7 +28,7 @@ "Attendees"]]) [:li [:a {:href "/events"} "Events"]] - (if authenticated? + (if *authenticated?* [:li [:form {:method :post :action "/auth/sign-out"} [:input {:type "submit" |