Remove code to add the role on signin.

This commit is contained in:
Bradley Shellnut 2023-06-16 16:40:28 -07:00
parent 48c16d7892
commit 209acecbcc

View file

@ -49,10 +49,6 @@ export const actions = {
}
}
});
if (user && user.roles.length === 0) {
add_user_to_role(user.id, 'user');
}
} catch (e) {
// TODO: need to return error message to the client
console.error(e);