mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-18 07:07:35 +01:00
@@ -113,7 +113,7 @@ async function registerLocal (req, res, { isV3 = false }) {
|
||||
const { password } = req.body;
|
||||
|
||||
// Get the lowercase version of username to check that we do not have duplicates
|
||||
// So we can search for it in the database and then reject the choosen
|
||||
// So we can search for it in the database and then reject the chosen
|
||||
// username if 1 or more results are found
|
||||
email = email.toLowerCase();
|
||||
username = username.trim();
|
||||
|
||||
Reference in New Issue
Block a user