Browse Source

#1858

(cherry picked from commit ff424623e5)
tags/v0.10.5.3
Shaun 2 years ago
committed by Big Bad Waffle
parent
commit
64d35663f3
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/server/components/auth.js

+ 1
- 1
src/server/components/auth.js View File

@@ -359,7 +359,7 @@ module.exports = {
msg: null
};

eventEmitter.emit('onBeforeRegisterAccount', emBeforeRegisterAccount);
await eventEmitter.emit('onBeforeRegisterAccount', emBeforeRegisterAccount);

if (!emBeforeRegisterAccount.success) {
msg.callback(emBeforeRegisterAccount.msg);


Loading…
Cancel
Save