Merge branch 'auth-modernize' into 'main'

Various 3rd-party auth providers improvements

Closes #506 et #989

See merge request framasoft/mobilizon!1221
This commit is contained in:
Thomas Citharel
2022-04-28 10:35:23 +00:00
5 changed files with 14 additions and 8 deletions

View File

@@ -46,7 +46,7 @@ export default class ProviderValidate extends Vue {
id: userId,
email: userEmail,
isLoggedIn: true,
role: ICurrentUserRole.USER,
role: userRole,
},
});
const { data } = await this.$apollo.query<{ loggedUser: IUser }>({