Commit 4ab131e4 authored by Leigh Stoller's avatar Leigh Stoller

Set pswd_expires=null for nonlocal users so that we never consider

it expired.
parent cfb1127f
......@@ -581,7 +581,8 @@ sub Create($$$$)
return undef;
}
push(@insert_data, "status='$USERSTATUS_ACTIVE'");
push(@insert_data, "pswd_expires=now()");
# No expiration, cause no passwords.
push(@insert_data, "pswd_expires=null");
push(@insert_data, "usr_pswd='*'");
}
else {
......
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