mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-19 15:48:04 +01:00
misc fixes, GET user (with tests), more comments for preenHistory
This commit is contained in:
@@ -30,7 +30,7 @@ api.registerLocal = {
|
||||
url: '/user/auth/local/register',
|
||||
handler (req, res, next) {
|
||||
let fbUser = res.locals.user; // If adding local auth to social user
|
||||
|
||||
// TODO check user doesn't have local auth
|
||||
req.checkBody({
|
||||
email: {
|
||||
notEmpty: {errorMessage: res.t('missingEmail')},
|
||||
|
||||
Reference in New Issue
Block a user