Files
winix/templates/pw.cpp
Tomasz Sowa b7007da5a9 fixed: misc: ValidateEmail() buffer overflow
added: notifications for resetting a user's password
       (there is no a winix function for this yet)



git-svn-id: svn://ttmath.org/publicrep/winix/trunk@817 e52654a7-88a9-db11-a3e9-0013d4bc506e
2012-03-09 22:56:54 +00:00

39 lines
564 B
C++
Executable File

/*
* This file is a part of Winix
* and is not publicly distributed
*
* Copyright (c) 2012, Tomasz Sowa
* All rights reserved.
*
*/
#include "templates.h"
#include "core/request.h"
#include "core/misc.h"
namespace TemplatesFunctions
{
// change password code provided by a user
// we don't know whether it is valid or not
void pw_users_change_password_code(Info & i)
{
i.out << cur->request->ParamValue(L"code");
}
void pw_change_password_login(Info & i)
{
i.out << cur->request->ParamValue(L"login");
}
} // namespace TemplatesFunctions