Rename UserController's main handler method to the new proper one.

This commit is contained in:
Relintai 2022-01-08 12:49:34 +01:00
parent 90d62dbef7
commit 3809ca5a38
3 changed files with 3 additions and 4 deletions

View File

@ -13,8 +13,7 @@
class Request;
// FileCache -> set up, for this webroot, don't use singleton
// Update the rest of the modules to the new systems
// TODO FileCache -> set up, for this webroot, don't use singleton
class WebRoot : public WebRouterNode {
RCPP_OBJECT(WebRoot, WebRouterNode);

View File

@ -15,7 +15,7 @@
#include "core/hash/sha256.h"
void UserController::handle_request_default(Request *request) {
void UserController::handle_request_main(Request *request) {
if (request->session) {
Ref<User> u = request->reference_data["user"];

View File

@ -16,7 +16,7 @@ class UserController : public WebNode {
RCPP_OBJECT(UserController, WebNode);
public:
virtual void handle_request_default(Request *request);
void handle_request_main(Request *request);
struct LoginRequestData {
String error_str;