absmach / magistrala

Industrial IoT Messaging and Device Management Platform
https://www.abstractmachines.fr/magistrala.html
Apache License 2.0
2.47k stars 671 forks source link

MG-2092 - Remove unused field in token object #2191

Closed JeffMboya closed 5 months ago

JeffMboya commented 5 months ago

What type of PR is this?

This is a bug fix because it fixes the issue where an unused field in the token object is causing a bug on the UI.

What does this do?

This PR removes the unused domain field from the token object when a user is not logged in to a specific domain. This prevents the UI from incorrectly indicating that the token has a domain field when it does not.

Which issue(s) does this PR fix/relate to?

Resolves #2092

Have you included tests for your changes?

Yes

Did you document any new/modified feature?

No