[x] Currently ConfigController has both model and controller related features in the same file. Best would be to split the model code to a ServerConfig model.
[x] For the authentication, it's a bodge to get OAuth2 to work properly with minimum issues, best would be to split it to a Middleware that checks if it is valid
[ ] For validation of form submission we could possibly setup a custom Validator with custom rules to make sure things work out, instead of the bodge it is now
[x] Currently
ConfigController
has both model and controller related features in the same file. Best would be to split the model code to aServerConfig
model.[x] For the authentication, it's a bodge to get OAuth2 to work properly with minimum issues, best would be to split it to a Middleware that checks if it is valid
[ ] For validation of form submission we could possibly setup a custom
Validator
with custom rules to make sure things work out, instead of the bodge it is now