diff options
Diffstat (limited to 'src/gui/windows/unregisterdialog.cpp')
-rw-r--r-- | src/gui/windows/unregisterdialog.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/gui/windows/unregisterdialog.cpp b/src/gui/windows/unregisterdialog.cpp index 0135cb7c9..018b583fa 100644 --- a/src/gui/windows/unregisterdialog.cpp +++ b/src/gui/windows/unregisterdialog.cpp @@ -121,10 +121,8 @@ void UnRegisterDialog::action(const ActionEvent &event) std::stringstream errorMsg; bool error = false; - 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(); if (password.length() < min) { |