mirror of
https://github.com/penpot/penpot.git
synced 2025-01-26 08:29:42 -05:00
🐛 Enable initial data for users registred from 3rd party auth.
This commit is contained in:
parent
1d349ec62b
commit
9771db7133
1 changed files with 4 additions and 2 deletions
|
@ -254,8 +254,10 @@
|
||||||
:is-demo false}))
|
:is-demo false}))
|
||||||
|
|
||||||
(register-profile [conn params]
|
(register-profile [conn params]
|
||||||
(->> (create-profile conn params)
|
(let [profile (->> (create-profile conn params)
|
||||||
(create-profile-relations conn)))]
|
(create-profile-relations conn))]
|
||||||
|
(create-profile-initial-data conn profile)
|
||||||
|
profile))]
|
||||||
|
|
||||||
(db/with-atomic [conn pool]
|
(db/with-atomic [conn pool]
|
||||||
(let [profile (profile/retrieve-profile-data-by-email conn email)
|
(let [profile (profile/retrieve-profile-data-by-email conn email)
|
||||||
|
|
Loading…
Add table
Reference in a new issue