I have a custom attribute for authorization on my controller, the details of which can be viewed here.
If this custom attribute returns false, it returns to the login screen. I want to add a error to my model for the login screen if the attribute returns false.
Any ideas?
For those who are looking for the answer, here is how I ended up doing it: