I have a base controller class which I want to define [Authorize]
on as it will be used by every controller in my application. My login screen also uses this base controller but I want to skip authorisation on the login screen so that users can actually log in.
Is it possible to override OnAuthorization
in just my login controller and pass through whether they are authorised or not?