mirror of
https://github.com/rwinkhart/libmutton.git
synced 2026-09-01 06:46:38 -04:00
Initial password aging support
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
package global
|
||||
|
||||
import "strings"
|
||||
|
||||
// GetRealAgePath returns the full path to an age file (given the vanity path)
|
||||
func GetRealAgePath(vanityPath string) string {
|
||||
return AgeDir + PathSeparator + strings.ReplaceAll(vanityPath, "/", FSPath)
|
||||
}
|
||||
Reference in New Issue
Block a user