Admin panel to force email addresses to be lowercase to conform with firebase
This commit is contained in:
@@ -50,7 +50,7 @@ exports.createUser = async (req, res) => {
|
|||||||
`,
|
`,
|
||||||
{
|
{
|
||||||
user: {
|
user: {
|
||||||
email,
|
email: email.toLowerCase(),
|
||||||
authid: userRecord.uid,
|
authid: userRecord.uid,
|
||||||
associations: {
|
associations: {
|
||||||
data: [{ shopid, authlevel, active: true }],
|
data: [{ shopid, authlevel, active: true }],
|
||||||
|
|||||||
Reference in New Issue
Block a user