runcitadel / dashboard

Other
11 stars 5 forks source link

defect fix: set jwt properly when registering #4

Closed WilliamConnatser closed 2 years ago

WilliamConnatser commented 2 years ago

rootState.citadel.manager.auth.register() returns an object with a property named "jwt". The object was being set as the jwt in the store, but the store's state was expecting a string. I made a couple minor changes only in the register action where the jwt string is now extracted from the object returned by the manager API.