summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Andreas Benkard <code@mail.matthias.benkard.de>2012-06-17 15:14:06 +0200
committerMatthias Andreas Benkard <code@mail.matthias.benkard.de>2012-06-17 15:14:06 +0200
commit41ede966ac3d168bd5a511b197ac9a30518b381a (patch)
tree86c68a16f81bc3ba8e997c0c6b1619af7d21d8b1
parent169bd1f29b239d314475bdbe05f0a7a9aa332864 (diff)
Use configured certificate-requesting base URI for login.
-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)))