From af397098f4078f6ba81a74e47892882db832693a Mon Sep 17 00:00:00 2001 From: Johan Danielsson Date: Wed, 14 Jul 2004 09:11:52 +0000 Subject: [PATCH] (auth_loop): actually logging the user in is a good idea git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14046 ec53bebd-3082-4978-b11e-865c3cabbd6b --- appl/popper/pop_auth.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/appl/popper/pop_auth.c b/appl/popper/pop_auth.c index 3a78edff8..9d2f1fcaf 100644 --- a/appl/popper/pop_auth.c +++ b/appl/popper/pop_auth.c @@ -151,6 +151,10 @@ auth_loop(POP *p, struct auth_mech *m) (*m->cleanup)(p, state); if(status == POP_AUTH_FAILURE) return pop_msg(p, POP_FAILURE, "%s", auth_msg); + + status = login_user(p); + if(status != POP_SUCCESS) + return status; return pop_msg(p, POP_SUCCESS, "authentication complete"); }