mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
added dbg info
This commit is contained in:
parent
9491f1a78e
commit
0fdbcf6b57
@ -143,6 +143,8 @@ int p3WebUI::status() const
|
|||||||
void p3WebUI::setUserPassword(const std::string& passwd)
|
void p3WebUI::setUserPassword(const std::string& passwd)
|
||||||
{
|
{
|
||||||
#ifdef RS_JSONAPI
|
#ifdef RS_JSONAPI
|
||||||
|
std::cerr << "Updating webui token with new passwd \"" << passwd << "\"" << std::endl;
|
||||||
|
|
||||||
if(!rsJsonAPI->authorizeUser("webui",passwd))
|
if(!rsJsonAPI->authorizeUser("webui",passwd))
|
||||||
std::cerr << "(EE) Cannot register webui token. Some error occurred when calling authorizeUser()" << std::endl;
|
std::cerr << "(EE) Cannot register webui token. Some error occurred when calling authorizeUser()" << std::endl;
|
||||||
#else
|
#else
|
||||||
|
Loading…
Reference in New Issue
Block a user