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

This commit is contained in:
2021-03-26 22:50:55 +01:00
parent ac99894157
commit 70c4bfaffa
4 changed files with 91 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
#ifndef HANDLERUSERSETTINGS_H
#define HANDLERUSERSETTINGS_H
#include "handler.h"
class HandlerUserSettings : public Handler
{
public:
using Handler::Handler;
Response handleRequest(const Request &r);
bool canAccess(const Permissions &perms);
std::string accessErrorMessage();
};
#endif // HANDLERUSERSETTINGS_H