Commit 623b1742 authored by antirez's avatar antirez
Browse files

ACL: load the defined users at server startup.

parent 500b3e12
...@@ -4907,6 +4907,11 @@ int main(int argc, char **argv) { ...@@ -4907,6 +4907,11 @@ int main(int argc, char **argv) {
linuxMemoryWarnings(); linuxMemoryWarnings();
#endif #endif
moduleLoadFromQueue(); moduleLoadFromQueue();
if (ACLLoadConfiguredUsers() == C_ERR) {
serverLog(LL_WARNING,
"Critical error while loading ACLs. Exiting.");
exit(1);
}
loadDataFromDisk(); loadDataFromDisk();
if (server.cluster_enabled) { if (server.cluster_enabled) {
if (verifyClusterConfigWithData() == C_ERR) { if (verifyClusterConfigWithData() == C_ERR) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment