]> git.stg.codes - stg.git/commitdiff
Fixed setting admin's password.
authorMaxim Mamontov <faust.madf@gmail.com>
Thu, 29 May 2014 08:27:30 +0000 (11:27 +0300)
committerMaxim Mamontov <faust.madf@gmail.com>
Thu, 29 May 2014 08:27:30 +0000 (11:27 +0300)
projects/sgconf/admins.cpp

index 6a59fa28b182f6c90e4389fe2743d67be64cef01..739a8aef2239ed8e9443424874273ad7979e4cf5 100644 (file)
@@ -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(),