summaryrefslogtreecommitdiffhomepage
path: root/svr-auth.c
diff options
context:
space:
mode:
Diffstat (limited to 'svr-auth.c')
-rw-r--r--svr-auth.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/svr-auth.c b/svr-auth.c
index 87330ac..66db4fc 100644
--- a/svr-auth.c
+++ b/svr-auth.c
@@ -392,7 +392,8 @@ void send_msg_userauth_success() {
/* authdone must be set after encrypt_packet() for
* delayed-zlib mode */
ses.authstate.authdone = 1;
- svr_ses.connect_time = 0;
+ ses.connect_time = 0;
+
if (ses.authstate.pw_uid == 0) {
ses.allowprivport = 1;