Admin panel to force email addresses to be lowercase to conform with firebase

This commit is contained in:
Allan Carr
2023-12-14 08:57:36 -08:00
parent 98b760251c
commit 2dd56590d3

View File

@@ -50,7 +50,7 @@ exports.createUser = async (req, res) => {
`,
{
user: {
email,
email: email.toLowerCase(),
authid: userRecord.uid,
associations: {
data: [{ shopid, authlevel, active: true }],