Forced password change fix

This commit is contained in:
mysticbbs 2012-03-25 16:13:20 -04:00
parent 6941b010bd
commit ad59923a0d
1 changed files with 1 additions and 1 deletions

View File

@ -1140,7 +1140,7 @@ Begin
If Not DateValid(Session.User.ThisUser.LastPWChange) Then If Not DateValid(Session.User.ThisUser.LastPWChange) Then
Session.User.ThisUser.LastPWChange := DateDos2Str(CurDateDos, 1) Session.User.ThisUser.LastPWChange := DateDos2Str(CurDateDos, 1)
Else Else
If CurDateJulian - DateStr2Julian(Session.User.ThisUser.LastPWChange) >= 0 Then Begin If CurDateJulian - DateStr2Julian(Session.User.ThisUser.LastPWChange) >= Config.PWChange Then Begin
Session.SystemLog('Required password change'); Session.SystemLog('Required password change');
Session.io.OutFullLn(Session.GetPrompt(478)); Session.io.OutFullLn(Session.GetPrompt(478));
Session.User.GetPassword(False); Session.User.GetPassword(False);