diff --git a/libretroshare/src/rsserver/p3webui.cc b/libretroshare/src/rsserver/p3webui.cc index 96279bd0d..f1a7fffce 100644 --- a/libretroshare/src/rsserver/p3webui.cc +++ b/libretroshare/src/rsserver/p3webui.cc @@ -143,6 +143,8 @@ int p3WebUI::status() const void p3WebUI::setUserPassword(const std::string& passwd) { #ifdef RS_JSONAPI + std::cerr << "Updating webui token with new passwd \"" << passwd << "\"" << std::endl; + if(!rsJsonAPI->authorizeUser("webui",passwd)) std::cerr << "(EE) Cannot register webui token. Some error occurred when calling authorizeUser()" << std::endl; #else