Browse Source

Changed to 1 month timeout

tags/2.0.6
Teknikode 3 years ago
parent
commit
4fb485c2df
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Teknik/Areas/User/Utility/UserHelper.cs

+ 1
- 1
Teknik/Areas/User/Utility/UserHelper.cs View File

@@ -979,7 +979,7 @@ If you recieved this email and you did not reset your password, you can ignore t
public static HttpCookie CreateAuthCookie(string username, bool remember, string domain, bool local)
{
DateTime curTime = DateTime.Now;
DateTime expireTime = curTime.AddYears(1);
DateTime expireTime = curTime.AddMonths(1);

Config config = Config.Load();
FormsAuthenticationTicket ticket = new FormsAuthenticationTicket(

Loading…
Cancel
Save