From 44f946bf4726800b7229f7c688c626fde469210b Mon Sep 17 00:00:00 2001 From: Maxim Mamontov Date: Thu, 29 May 2014 11:27:30 +0300 Subject: [PATCH] Fixed setting admin's password. --- projects/sgconf/admins.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/projects/sgconf/admins.cpp b/projects/sgconf/admins.cpp index 6a59fa28..739a8aef 100644 --- a/projects/sgconf/admins.cpp +++ b/projects/sgconf/admins.cpp @@ -158,6 +158,7 @@ bool AddAdminFunction(const SGCONF::CONFIG & config, ADMIN_CONF_RES conf; conf.login = arg; SGCONF::MaybeSet(options, "priv", conf.priv, ConvPriv); +SGCONF::MaybeSet(options, "password", conf.password); STG::SERVCONF proto(config.server.data(), config.port.data(), config.userName.data(), -- 2.43.2