mirror of
https://github.com/penpot/penpot.git
synced 2025-07-23 23:27:18 +02:00
🐛 Hide registration screen when registration is disabled
This commit is contained in:
parent
002a6f1e52
commit
688d649c4a
7 changed files with 40 additions and 23 deletions
|
@ -60,8 +60,10 @@
|
|||
(def routes
|
||||
[["/auth"
|
||||
["/login" :auth-login]
|
||||
["/register" :auth-register]
|
||||
["/register/success" :auth-register-success]
|
||||
(when cfg/registration-enabled
|
||||
["/register" :auth-register])
|
||||
(when cfg/registration-enabled
|
||||
["/register/success" :auth-register-success])
|
||||
["/recovery/request" :auth-recovery-request]
|
||||
["/recovery" :auth-recovery]
|
||||
["/verify-token" :auth-verify-token]]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue