🐛 Fix challenge redirect with parameters

This commit is contained in:
Alejandro Alonso 2024-09-11 12:30:12 +02:00
parent 6564736d3e
commit 89f64e0c49

View file

@ -144,8 +144,8 @@
(= :challenge-required (:code data))) (= :challenge-required (:code data)))
(let [path (rt/get-current-path) (let [path (rt/get-current-path)
href (->> path href (->> path
(str "/challenge.html?redirect=") (js/encodeURIComponent)
(js/encodeURIComponent))] (str "/challenge.html?redirect="))]
(rx/of (rt/nav-raw href))) (rx/of (rt/nav-raw href)))
(rx/throw cause)))) (rx/throw cause))))