Allow user access controller in asp mvc

pypeawassyBic

New Member
I use authencation in asp.net mvc4 \[code\]<authentication mode="Forms"> <forms loginUrl="~/Login" timeout="2880" /></authentication>\[/code\]when I'm not logged in, can not call functions registered in RegisterController. I try \[code\] <location path="~/Register"> <system.web> <authorization> <allow users="*"/> </authorization> </system.web> </location>\[/code\]but is not.How to solve?
 
Back
Top