From: Maxim Mamontov Date: Thu, 29 May 2014 08:27:30 +0000 (+0300) Subject: Fixed setting admin's password. X-Git-Url: https://git.stg.codes/stg.git/commitdiff_plain/44f946bf4726800b7229f7c688c626fde469210b Fixed setting admin's password. --- 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(),