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:
38
templates/pw.cpp
Executable file
38
templates/pw.cpp
Executable 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
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user