correct logic for check active gms config on createUser

This commit is contained in:
Claus-Peter Huebner 2023-12-20 21:24:07 +01:00
parent ef73207609
commit a281313a38

View File

@ -363,7 +363,7 @@ export class UserResolver {
await EVENT_USER_REGISTER(dbUser)
}
if (CONFIG.GMS_ACTIVE) {
if (!CONFIG.GMS_ACTIVE) {
logger.info('GMS deactivated per configuration! New user is not published to GMS.')
} else {
try {