how to chang LoginPath and ExpireTimeSpan ? #15846
Unanswered
duanwenhao
asked this question in
Q&A
Replies: 1 comment
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
with .net core i can do it by under code
services.AddAuthentication(CookieAuthenticationDefaults.AuthenticationScheme)
.AddCookie(options =>
{
options.LoginPath = "/Login";
options.ExpireTimeSpan = TimeSpan.FromMinutes(15);
options.SlidingExpiration = true;
});
abp's default loginpath is /Account/Login , how can i change it?
Beta Was this translation helpful? Give feedback.
All reactions