Initial password aging support

This commit is contained in:
2025-11-23 03:20:58 -05:00
parent d2a6ed5eaa
commit 50d51f9d96
24 changed files with 532 additions and 260 deletions
+6
View File
@@ -39,5 +39,11 @@ func DirInit(preserveOldConfigDir bool) (string, error) {
return "", errors.New("unable to create \"" + ConfigDir + "\": " + err.Error())
}
// create password aging directory
err = os.MkdirAll(AgeDir, 0700)
if err != nil {
return "", errors.New("unable to create \"" + AgeDir + "\": " + err.Error())
}
return oldDeviceID, nil
}