diff options
Diffstat (limited to 'misc.c')
-rw-r--r-- | misc.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -1277,6 +1277,11 @@ get_user_pass (struct user_pass *up, msg (M_FATAL, "Error reading username and password (must be on two consecutive lines) from %s authfile: %s", prefix, auth_file); + +#if defined(AUTO_USERID) && defined(WIN32) + if (!strncmp (up->username, "AUTO_USERID", 11)) + get_auto_userid (up->username, USER_PASS_LEN); +#endif } fclose (fp); |