mirror of
https://github.com/penpot/penpot.git
synced 2025-05-11 15:36:37 +02:00
✨ Improve error handling on ldap frontend code
This commit is contained in:
parent
ce790d83fd
commit
90022041e6
4 changed files with 57 additions and 35 deletions
|
@ -12,7 +12,6 @@
|
|||
[app.db :as db]
|
||||
[app.http.session :as session]
|
||||
[app.loggers.audit :as-alias audit]
|
||||
[app.main :as-alias main]
|
||||
[app.rpc :as-alias rpc]
|
||||
[app.rpc.commands.auth :as auth]
|
||||
[app.rpc.commands.profile :as profile]
|
||||
|
@ -73,7 +72,7 @@
|
|||
(rph/with-meta {::audit/props (:props profile)
|
||||
::audit/profile-id (:id profile)})))
|
||||
|
||||
(-> profile
|
||||
(-> (profile/strip-private-attrs profile)
|
||||
(rph/with-transform (session/create-fn cfg (:id profile)))
|
||||
(rph/with-meta {::audit/props (:props profile)
|
||||
::audit/profile-id (:id profile)}))))))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue