mirror of
https://github.com/Relintai/rcpp_framework.git
synced 2024-11-10 00:52:11 +01:00
Rename UserController's main handler method to the new proper one.
This commit is contained in:
parent
90d62dbef7
commit
3809ca5a38
@ -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);
|
||||
|
@ -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"];
|
||||
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user