mirror of
https://github.com/Unleash/unleash.git
synced 2024-12-22 19:07:54 +01:00
585eb30730
https://linear.app/unleash/issue/2-2518/figure-out-how-to-create-the-initial-admin-user-in-unleash The logic around `initAdminUser` that was introduced in https://github.com/Unleash/unleash/pull/4927 confused me a bit. I wrote new tests with what I assume are our expectations for this feature and refactored the code accordingly, but would like someone to confirm that it makes sense to them as well. The logic was split into 2 different methods: one to get the initial invite link, and another to send a welcome email. Now these two methods are more granular than the previous alternative and can be used independently of creating a new user. --------- Co-authored-by: Gastón Fournier <gaston@getunleash.io> |
||
---|---|---|
.. | ||
deploy | ||
troubleshooting |