Sfoglia il codice sorgente

#1858

(cherry picked from commit ff424623e5)
tags/v0.10.5.3
Shaun 2 anni fa
committed by Big Bad Waffle
parent
commit
64d35663f3
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      src/server/components/auth.js

+ 1
- 1
src/server/components/auth.js Vedi 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);


Caricamento…
Annulla
Salva