Skip to content

Commit

Permalink
Use tabs instead of spaces.
Browse files Browse the repository at this point in the history
  • Loading branch information
cybe committed Dec 19, 2016
1 parent 8b421da commit 450e84f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sshpiperd/workingdir.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ var (
)

func init() {
// Base username validation on debians default: https://sources.debian.net/src/adduser/3.113%2Bnmu3/adduser.conf/#L85
// -> NAME_REGEX="^[a-z][-a-z0-9_]*\$"
// The length is limited to 32 characters. See man 8 useradd: https://linux.die.net/man/8/useradd
// Base username validation on Debians default: https://sources.debian.net/src/adduser/3.113%2Bnmu3/adduser.conf/#L85
// -> NAME_REGEX="^[a-z][-a-z0-9_]*\$"
// The length is limited to 32 characters. See man 8 useradd: https://linux.die.net/man/8/useradd
usernameRule, _ = regexp.Compile("^[a-z_][-a-z0-9_]{0,31}$")
}

Expand Down

0 comments on commit 450e84f

Please sign in to comment.