fix(core): Make email for UM case insensitive (#3078)
* 🚧 lowercasing email * ✅ add tests for case insensitive email * 🐘 add migration to lowercase email * 🚚 rename migration * 🐛 fix package.lock * 🐛 fix double import * 📋 add todo
This commit is contained in:
@@ -104,7 +104,7 @@ export function usersNamespace(this: N8nApp): void {
|
||||
400,
|
||||
);
|
||||
}
|
||||
createUsers[invite.email] = null;
|
||||
createUsers[invite.email.toLowerCase()] = null;
|
||||
});
|
||||
|
||||
const role = await Db.collections.Role.findOne({ scope: 'global', name: 'member' });
|
||||
|
||||
Reference in New Issue
Block a user