Shaun 2 lat temu
rodzic
commit
ff424623e5
1 zmienionych plików z 1 dodań i 1 usunięć
  1. +1
    -1
      src/server/components/auth.js

+ 1
- 1
src/server/components/auth.js Wyświetl plik

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

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

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


Ładowanie…
Anuluj
Zapisz