Introduce HandlerUserSettings to change user settings, e. g. pw changes

这个提交包含在:
2021-03-26 22:50:55 +01:00
父节点 ac99894157
当前提交 70c4bfaffa
共有 4 个文件被更改,包括 91 次插入0 次删除

查看文件

@@ -32,6 +32,7 @@ SOFTWARE.
#include "handlercategory.h"
#include "handlerhistory.h"
#include "handlerpagedelete.h"
#include "handlerusersettings.h"
std::unique_ptr<Handler> HandlerFactory::createHandler(const std::string &action, Session &userSession)
{
@@ -75,6 +76,10 @@ std::unique_ptr<Handler> HandlerFactory::createHandler(const std::string &action
{
return produce<HandlerHistory>(userSession);
}
if(action == "usersettings")
{
return produce<HandlerUserSettings>(userSession);
}
return produce<HandlerInvalidAction>(userSession);
}