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:
@@ -25,11 +25,16 @@ public:
|
||||
Passwd();
|
||||
bool HasAccess();
|
||||
void MakePost();
|
||||
bool ChangePassword(const std::wstring & login, const std::wstring & new_password);
|
||||
|
||||
bool IsPasswordCorrect(const std::wstring & pass, const std::wstring & conf_pass, bool use_ses_log = false);
|
||||
bool ChangePassword(long user_id, const std::wstring & new_password);
|
||||
|
||||
private:
|
||||
|
||||
UserPass up;
|
||||
|
||||
void ChangePassword(User * puser);
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user