diff --git a/include/transport/UserRegistration.h b/include/transport/UserRegistration.h index b4c5a13fef7bdab61ea2e93009e715f56f8148be..f95d0faecf71f5ce1cc1505066cd025e84e23c0f 100644 --- a/include/transport/UserRegistration.h +++ b/include/transport/UserRegistration.h @@ -50,7 +50,7 @@ class UserRegistration { /// Registers new user. This function stores user into database and subscribe user to transport. /// \param userInfo UserInfo struct with informations about registered user /// \return false if user is already registered - bool registerUser(const UserInfo &userInfo); + bool registerUser(const UserInfo &userInfo, bool allowPasswordChange = false); /// Unregisters user. This function removes all data about user from databa, unsubscribe all buddies /// managed by this transport and disconnects user if he's connected.