summaryrefslogtreecommitdiff
path: root/internal/user/server
diff options
context:
space:
mode:
authorPaul Buetow <pbuetow@mimecast.com>2023-06-05 16:21:31 +0300
committerPaul Buetow <pbuetow@mimecast.com>2023-06-05 16:21:31 +0300
commitdc5f9a263fff0f8bf55fb73e5f927838b58608d2 (patch)
treec7e3fe60821935fd88cf3bcaec3055b58cff07f7 /internal/user/server
parenta45c1d147f5462b52bb863d42d0f309a4cce9a65 (diff)
can configure SSH algorithms
Diffstat (limited to 'internal/user/server')
-rw-r--r--internal/user/server/user.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/user/server/user.go b/internal/user/server/user.go
index e704c8b..abf74f3 100644
--- a/internal/user/server/user.go
+++ b/internal/user/server/user.go
@@ -121,7 +121,7 @@ func (u *User) iteratePaths(cleanPath, permissionType string) (bool, error) {
continue
}
- regexStr := permission
+ regexStr = permission
if strings.HasPrefix(permission, "!") {
regexStr = permission[1:]
negate = true