mirror of
https://github.com/BradNut/boredgame
synced 2025-09-08 17:40:22 +00:00
Remove code to add the role on signin.
This commit is contained in:
parent
48c16d7892
commit
209acecbcc
1 changed files with 0 additions and 4 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue