(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
This commit is contained in:
Johan Danielsson
2004-07-14 09:11:52 +00:00
parent bab19f3ade
commit af397098f4

View File

@@ -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");
}