Linting fixes + FileManager share start refactor

This commit is contained in:
AlexSSD7 2023-09-02 12:07:30 +01:00
commit b15e2df3d3
11 changed files with 66 additions and 120 deletions

View file

@ -56,6 +56,8 @@ func genericChangePass(ctx context.Context, sc *ssh.Client, user string, pwd str
})
}
type ChangePassFunc func(ctx context.Context, sc *ssh.Client, user string, pwd string) error
func ChangeUnixPass(ctx context.Context, sc *ssh.Client, user string, pwd string) error {
return genericChangePass(ctx, sc, user, pwd, "passwd")
}