mirror of
https://github.com/penpot/penpot.git
synced 2025-06-15 11:01:38 +02:00
🐛 Fix challenge redirect with parameters
This commit is contained in:
parent
6564736d3e
commit
89f64e0c49
1 changed files with 2 additions and 2 deletions
|
@ -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))))
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue