Initialise all plugins, not just the first.
This commit is contained in:
parent
e773ea1bee
commit
300034f868
@ -156,11 +156,11 @@ int mosquitto_security_module_init(struct mosquitto_db *db)
|
||||
if(rc){
|
||||
log__printf(NULL, MOSQ_LOG_ERR,
|
||||
"Error: Authentication plugin returned %d when initialising.", rc);
|
||||
}
|
||||
return rc;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return MOSQ_ERR_SUCCESS;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user