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:
@@ -45,6 +45,7 @@ public:
|
||||
void ItemChanged(int notify_code, const Item & item);
|
||||
void ItemChanged(const NotifyMsg & msg);
|
||||
void ActivateAccount(const std::wstring & name, const std::wstring & email, long code);
|
||||
void ResetPassword(const std::wstring & name, const std::wstring & email, long code);
|
||||
|
||||
private:
|
||||
|
||||
@@ -62,11 +63,13 @@ private:
|
||||
|
||||
size_t notify_template_cms;
|
||||
size_t notify_template_activate_account;
|
||||
size_t notify_template_reset_password;
|
||||
|
||||
Patterns patterns;
|
||||
|
||||
void CreateItemLink(const Item & item, std::wstring & link, std::wstring & dir_link);
|
||||
void CreateActivateLink(const std::wstring & name, long code, std::wstring & link);
|
||||
void CreateResetPasswordLink(const std::wstring & name, long code, std::wstring & link);
|
||||
};
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user