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
This commit is contained in:
2012-03-09 22:56:54 +00:00
parent 489310ba1c
commit b7007da5a9
27 changed files with 540 additions and 145 deletions

38
templates/pw.cpp Executable file
View File

@@ -0,0 +1,38 @@
/*
* 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