summaryrefslogtreecommitdiff
path: root/src/net/loginhandler.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/loginhandler.h')
-rw-r--r--src/net/loginhandler.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/net/loginhandler.h b/src/net/loginhandler.h
index 229e9a4c6..481103c34 100644
--- a/src/net/loginhandler.h
+++ b/src/net/loginhandler.h
@@ -88,9 +88,10 @@ class LoginHandler
virtual void changeEmail(const std::string &email) const = 0;
- virtual void changePassword(const std::string &username,
- const std::string &oldPassword,
- const std::string &newPassword) const = 0;
+ virtual void changePassword(const std::string &restrict username,
+ const std::string &restrict oldPassword,
+ const std::string &restrict newPassword)
+ const = 0;
virtual void chooseServer(unsigned int server) const = 0;