BookStack/app/Http
Dan Brown 6f1b88a6a6
Change email confirmation from own middle to trait
Email confirmation middleware caused more mess than good, As caused
priority issues and it depended on auth actions. Instead its now a trai
used on auth middlewares.

Also used 'EncryptCookies' middleware on API instead of custom
decryption in custom middleware since we'd need to do replicate all the
same actions anyway. Shouldn't have too much effect since it only
actions over cookies that exist, of which none should be there for most
API requests.

Also split out some large guard functions to be a little more readable
and appease codeclimate.
2019-12-30 15:49:20 +00:00
..
Controllers Extracted API auth into guard 2019-12-30 14:51:28 +00:00
Middleware Change email confirmation from own middle to trait 2019-12-30 15:49:20 +00:00
Requests Change application namespace to BookStack 2015-09-10 19:31:09 +01:00
Kernel.php Change email confirmation from own middle to trait 2019-12-30 15:49:20 +00:00
Request.php Ran phpcbf and updated helpers typehinting 2019-09-15 18:29:51 +01:00