summaryrefslogtreecommitdiffstats
path: root/content/posts/WIP-how-bsd-authentication-works
diff options
context:
space:
mode:
Diffstat (limited to 'content/posts/WIP-how-bsd-authentication-works')
-rw-r--r--content/posts/WIP-how-bsd-authentication-works/index.org4
1 files changed, 2 insertions, 2 deletions
diff --git a/content/posts/WIP-how-bsd-authentication-works/index.org b/content/posts/WIP-how-bsd-authentication-works/index.org
index fc9aaf0..a63d731 100644
--- a/content/posts/WIP-how-bsd-authentication-works/index.org
+++ b/content/posts/WIP-how-bsd-authentication-works/index.org
@@ -403,8 +403,8 @@
auth_session_t *auth_usercheck(char *name, char *style, char *type, char *password)
#+END_SRC
- =auth_usercheck= first checks that =*name= doesn't begin with a
- hyphen, and that it's not too long.
+ =auth_usercheck= first checks that =*name= is a valid username. This
+ means that it doesn't begin with a hyphen, had a non-zero length.
If =*style= is =NULL=, it checks if =*name= is in the =user:style=
format, and splits it accordingly.