how to chang LoginPath and ExpireTimeSpan ? #15846
Unanswered
duanwenhao
asked this question in
Q&A
Replies: 1 comment
-
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
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