diff options
Diffstat (limited to 'mcs/class/System.Web/System.Web.Security/FormsAuthentication.cs')
-rw-r--r-- | mcs/class/System.Web/System.Web.Security/FormsAuthentication.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mcs/class/System.Web/System.Web.Security/FormsAuthentication.cs b/mcs/class/System.Web/System.Web.Security/FormsAuthentication.cs index bee8998e76a..451cb0dc260 100644 --- a/mcs/class/System.Web/System.Web.Security/FormsAuthentication.cs +++ b/mcs/class/System.Web/System.Web.Security/FormsAuthentication.cs @@ -311,7 +311,7 @@ namespace System.Web.Security return tOld; FormsAuthenticationTicket tNew = tOld.Clone (); - tNew.SetDates (now, now - toExpiration + toIssue); + tNew.SetDates (now, now + (tOld.Expiration - tOld.IssueDate)); return tNew; } |