akveo / akveo/ngx-admin-bundle-support
React Native/ .NET Core Bundle - user.roles is undefined on successful login
Aperta
- Lingua principale
- TypeScript
- Stelle
- 56
- Fork
- 30
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
After successfully logging in, the user object returned is missing the `roles` attribute.
This is causing this line to throw an error in the react native app: `const isAdmin: boolean = user.roles.findIndex(role => role === 'admin') !== -1;` (sign-in.service.ts)
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.