Commit 8ec627ba authored by Leigh Stoller's avatar Leigh Stoller

Do not expire passwords for admin users.

parent 037f1577
......@@ -381,7 +381,8 @@ function LoginStatus() {
#
# Now add in the modifiers.
#
if ($expired)
# Do not expire passwords for admin users.
if ($expired && !$admin)
$CHECKLOGIN_STATUS |= CHECKLOGIN_PSWDEXPIRED;
if ($admin)
$CHECKLOGIN_STATUS |= CHECKLOGIN_ISADMIN;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment