mirror of
https://github.com/penpot/penpot.git
synced 2025-01-25 07:58:49 -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}))
|
||||
|
||||
(register-profile [conn params]
|
||||
(->> (create-profile conn params)
|
||||
(create-profile-relations conn)))]
|
||||
(let [profile (->> (create-profile conn params)
|
||||
(create-profile-relations conn))]
|
||||
(create-profile-initial-data conn profile)
|
||||
profile))]
|
||||
|
||||
(db/with-atomic [conn pool]
|
||||
(let [profile (profile/retrieve-profile-data-by-email conn email)
|
||||
|
|
Loading…
Add table
Reference in a new issue