mirror of
https://github.com/penpot/penpot.git
synced 2025-06-13 01:31:40 +02:00
🐛 Disable authentication for :login-or-register.
This commit is contained in:
parent
6f5b18de3a
commit
fdd36d48bc
3 changed files with 9 additions and 2 deletions
|
@ -38,6 +38,11 @@
|
|||
{:status 403
|
||||
:body (ex-data err)})
|
||||
|
||||
(defmethod handle-exception :authentication
|
||||
[err _]
|
||||
{:status 401
|
||||
:body (ex-data err)})
|
||||
|
||||
(defmethod handle-exception :validation
|
||||
[err req]
|
||||
(let [header (get-in req [:headers "accept"])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue