mirror of
https://github.com/penpot/penpot.git
synced 2025-07-25 12:17:32 +02:00
♻️ Refactor flags handling on frontend.
This commit is contained in:
parent
c9985121c4
commit
e587179359
9 changed files with 78 additions and 41 deletions
|
@ -55,11 +55,11 @@
|
|||
(def routes
|
||||
[["/auth"
|
||||
["/login" :auth-login]
|
||||
(when cf/registration-enabled
|
||||
(when (contains? @cf/flags :registration)
|
||||
["/register" :auth-register])
|
||||
(when cf/registration-enabled
|
||||
(when (contains? @cf/flags :registration)
|
||||
["/register/validate" :auth-register-validate])
|
||||
(when cf/registration-enabled
|
||||
(when (contains? @cf/flags :registration)
|
||||
["/register/success" :auth-register-success])
|
||||
["/recovery/request" :auth-recovery-request]
|
||||
["/recovery" :auth-recovery]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue