Closed mdmoura closed 11 years ago
Hello,
I have the following on my configuration:
configuration.For<UserController>(y => y.SignUp()).DenyAuthenticatedAccess();
I want to avoid authenticated to SignUp. But I don't want to redirect to SignIn as usual.
I would like to redirect them to Home/Index or return a view with a custom message.
What would be the best way to do this?
Thank You, Miguel
Hello,
I have the following on my configuration:
I want to avoid authenticated to SignUp. But I don't want to redirect to SignIn as usual.
I would like to redirect them to Home/Index or return a view with a custom message.
What would be the best way to do this?
Thank You, Miguel