mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-03-01 11:21:25 -05:00
fixed define problem causing to not ask for webUI passwd
This commit is contained in:
parent
c22e4a6cca
commit
25ea34ac68
@ -158,8 +158,7 @@ int main(int argc, char* argv[])
|
|||||||
"127.0.0.1.", false );
|
"127.0.0.1.", false );
|
||||||
#endif // def RS_JSONAPI
|
#endif // def RS_JSONAPI
|
||||||
|
|
||||||
#if defined(RS_JSONAPI) && defined(RS_WEBUI) \
|
#if (defined(RS_JSONAPI) || defined(RS_WEBUI)) && defined(RS_SERVICE_TERMINAL_WEBUI_PASSWORD)
|
||||||
&& defined(RS_SERVICE_TERMINAL_WEBUI_PASSWORD)
|
|
||||||
bool askWebUiPassword = false;
|
bool askWebUiPassword = false;
|
||||||
as >> option( 'W', "webui-password", askWebUiPassword,
|
as >> option( 'W', "webui-password", askWebUiPassword,
|
||||||
"Ask WebUI password on the console." );
|
"Ask WebUI password on the console." );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user