diff options
Diffstat (limited to 'src/gui/windows/changepassworddialog.cpp')
-rw-r--r-- | src/gui/windows/changepassworddialog.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/gui/windows/changepassworddialog.cpp b/src/gui/windows/changepassworddialog.cpp index 875fb2c3d..a5f97becb 100644 --- a/src/gui/windows/changepassworddialog.cpp +++ b/src/gui/windows/changepassworddialog.cpp @@ -110,10 +110,8 @@ void ChangePasswordDialog::action(const ActionEvent &event) std::stringstream errorMsg; int error = 0; - const unsigned int min = Net::getLoginHandler() - ->getMinPasswordLength(); - const unsigned int max = Net::getLoginHandler() - ->getMaxPasswordLength(); + const unsigned int min = loginHandler->getMinPasswordLength(); + const unsigned int max = loginHandler->getMaxPasswordLength(); // Check old Password if (oldPassword.empty()) |