summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mulk/benki/util.clj2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mulk/benki/util.clj b/src/mulk/benki/util.clj
index ce9803d..0422735 100644
--- a/src/mulk/benki/util.clj
+++ b/src/mulk/benki/util.clj
@@ -83,7 +83,7 @@
(if-let [q (:query-string (request/ring-request))]
(str "?" q)
"")))
- (response/redirect "/login"))))
+ (response/redirect (link :login)))))
(defmacro with-auth [& body]
`(call-with-auth (fn [] ~@body)))