mirror of
https://github.com/penpot/penpot.git
synced 2026-03-07 02:31:17 +00:00
🐛 Fix challenge redirect with parameters
This commit is contained in:
@@ -143,9 +143,9 @@
|
||||
(if (and (= :authorization (:type data))
|
||||
(= :challenge-required (:code data)))
|
||||
(let [path (rt/get-current-path)
|
||||
href (-> path
|
||||
(str "/challenge.html?redirect=")
|
||||
(js/encodeURIComponent))]
|
||||
href (->> path
|
||||
(str "/challenge.html?redirect=")
|
||||
(js/encodeURIComponent))]
|
||||
(rx/of (rt/nav-raw href)))
|
||||
(rx/throw cause))))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user