Commit Graph

14 Commits

Author SHA1 Message Date
37d5c0fec8 Merged UserControllers and UserModels. 2022-01-07 17:50:39 +01:00
adda93bc3a During register create the user using the Model. 2021-11-14 01:33:01 +01:00
c86ed59dd6 Replaced std::string and std::vectors in the user module aswell. 2021-11-01 19:14:55 +01:00
dd966c9248 FormValidator and HTMLBuilder now uses my string and vector aswell. 2021-11-01 18:00:34 +01:00
f883b4d678 Moved the register success and login success responses to 2 new virtual methods. 2021-10-31 10:27:28 +01:00
ebb5d57fb9 Explicitly set path to / for the user session cookie. 2021-10-31 10:17:27 +01:00
594ab744c5 Split some of the methods in UserController so the render happens in a different method. 2021-10-31 02:10:47 +02:00
e61bc79af5 Use scopes to make HTML builder code indented for better visibility. I wanted to create a simple templating engine, but I think this makes that idea obsolete, and unnecessary. 2021-10-25 09:58:00 +02:00
214b268aae Now int data in the session will be saved to the database. 2021-08-22 23:53:26 +02:00
a77535d0e4 Fix changing passwords. 2021-08-22 22:47:21 +02:00
58e3855a4d Also removed the sessions vector from User. 2021-08-22 22:35:11 +02:00
9d8a752707 Reworked sessions. 2021-08-22 22:28:46 +02:00
e5e1dfee8a Moved out the http handler from users to the UserController. 2021-08-22 22:03:35 +02:00
6c76f625af Added a new UserController class. 2021-08-22 20:20:30 +02:00