This commit is contained in:
2019-01-03 18:29:06 +00:00
parent 667f67d275
commit b9272b6215
2 changed files with 2 additions and 2 deletions

View File

@@ -9,7 +9,7 @@ Need a sprint to get to a fully testable client with entry form, list and as muc
-----------------------
///
TODO CLIENT STUFF
- Consider moving client app to it's own folder structure, it's clumsy having it with the server and it contains thousands of files which slows shit down when not needed.

View File

@@ -339,7 +339,7 @@ namespace AyaNova
app.UseAuthentication();
//Custom middleware to get user roles and put them into the request so
//they can be authorized in routes
//they can be authorized in routes.
app.Use(async (context, next) =>
{
if (!context.User.Identity.IsAuthenticated)