BookStack/app/Api
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
..
ApiToken.php Extracted API auth into guard 2019-12-30 14:51:28 +00:00
ApiTokenGuard.php Change email confirmation from own middle to trait 2019-12-30 15:49:20 +00:00
ListingResponseBuilder.php Started core API route work 2019-12-28 14:58:07 +00:00