diff options
author | Matt Johnston <matt@ucc.asn.au> | 2004-08-18 09:14:43 +0000 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2004-08-18 09:14:43 +0000 |
commit | e17d27d91d3f8f255981a780059be9ef7a4f2067 (patch) | |
tree | b9bfbd2ae7c7e1ecb900bc3e0c8a4fc885bf5769 /svr-auth.c | |
parent | cc1860bc86ed84c41bfefce47e1ee7396413d095 (diff) |
Auth doesn't timeout after 5 minutes.
--HG--
extra : convert_revision : d7df458117bc7af1d7c748c52e06cf8ca03113c1
Diffstat (limited to 'svr-auth.c')
-rw-r--r-- | svr-auth.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -340,6 +340,8 @@ void send_msg_userauth_success() { encrypt_packet(); ses.authstate.authdone = 1; + ses.connecttimeout = 0; + if (ses.authstate.pw->pw_uid == 0) { ses.allowprivport = 1; |