From ac1a456a90d06ba7765716643257ec33cc513f76 Mon Sep 17 00:00:00 2001 From: Yohann Ferreira Date: Mon, 21 Apr 2008 16:18:03 +0000 Subject: Added password encryption client-side using SHA256. --- src/net/accountserver/account.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/net/accountserver/account.h') diff --git a/src/net/accountserver/account.h b/src/net/accountserver/account.h index 6a8c4e08..c8604717 100644 --- a/src/net/accountserver/account.h +++ b/src/net/accountserver/account.h @@ -44,12 +44,12 @@ namespace Net void unregister(const std::string &username, const std::string &password); - void changeEmail(const std::string &email); + void changeEmail(const std::string &username, + const std::string &email); - void getEmail(); - - void changePassword(const std::string &oldPassword, - const std::string &newPassword); + void changePassword(const std::string &username, + const std::string &oldPassword, + const std::string &newPassword); } } } -- cgit v1.2.3-70-g09d2