1
0
Fork 0
mirror of https://github.com/plankanban/planka.git synced 2025-08-03 04:25:27 +02:00

fix: Disable role change when OIDC roles are not ignored

This commit is contained in:
Maksim Eltyshev 2023-10-25 23:39:34 +02:00
parent d4b64b90fc
commit 6dc9e4ed99
9 changed files with 23 additions and 20 deletions

View file

@ -34,10 +34,6 @@ exports.seed = async (knex) => {
createdAt: new Date().toISOString(),
});
} catch (error) {
if (Object.keys(data).length === 0) {
return;
}
await knex('user_account').update(data).where('email', process.env.DEFAULT_ADMIN_EMAIL);
}
};