mech-login.c revision 4ac5448461b63de9637de839fbc611a3d503287c
/*
* LOGIN authentication mechanism.
*
* Copyright (c) 2004 Andrey Panin <pazke@donpac.ru>
*
* it under the terms of the GNU Lesser General Public License as published
* by the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*/
#include "common.h"
#include "mech.h"
#include "passdb.h"
#include "safe-memset.h"
struct auth_request *request)
{
switch (result) {
case PASSDB_RESULT_OK:
break;
break;
default:
break;
}
}
static void
{
static const char prompt2[] = "Password:";
return;
}
} else {
}
}
static void
const unsigned char *data __attr_unused__,
{
static const char prompt1[] = "Username:";
}
{
}
static struct auth_request *mech_login_auth_new(void)
{
struct auth_request *request;
return request;
}
const struct mech_module mech_login = {
"LOGIN",
};