2826 shaares
32 private links
32 private links
Hello
I have been busy trying to make a small website with a simple cms. It uses the twig for the layout.
I wanted the cms to have a login so after searching here and there, and after a bit off trial and error I came to a working system.
Although it works, I am not really sure if its a good approach or if there are any thins that can be better. Especially on the authenticate matter. Also I wonder if the authenticate function is necessary on the $app->put and $app->put routes.
Any thoughts on this code is appreciated.