I took out the web.config file in the Content folder and I added the AuthorizeAttribute as shown in your link from Rick Anderson. And to my surprise it worked and the images appear on the login page and the problem with the images not appearing on the first
display of that page went away, too. That solved my problem so I'll do it that way. I placed the LogonAuthorize class in the Account model. Is that where it should be?
DallasSteve
Member
222 Points
338 Posts
Re: How To Allow Access To Login Images?
May 07, 2012 09:35 PM|LINK
CodeHobo
I took out the web.config file in the Content folder and I added the AuthorizeAttribute as shown in your link from Rick Anderson. And to my surprise it worked and the images appear on the login page and the problem with the images not appearing on the first display of that page went away, too. That solved my problem so I'll do it that way. I placed the LogonAuthorize class in the Account model. Is that where it should be?
Thanks
Steve
www.SteveGaines.us