diff --git a/src/libs/auth/impl/internal/InternalPasswordService.hpp b/src/libs/auth/impl/internal/InternalPasswordService.hpp index efcc9e06..6cef56fb 100644 --- a/src/libs/auth/impl/internal/InternalPasswordService.hpp +++ b/src/libs/auth/impl/internal/InternalPasswordService.hpp @@ -36,7 +36,6 @@ namespace Auth InternalPasswordService(std::size_t maxThrottlerEntries, IAuthTokenService& authTokenService); private: - bool checkUserPassword(Database::Session& session, std::string_view loginName, std::string_view password) override; diff --git a/src/libs/auth/impl/pam/PAMPasswordService.cpp b/src/libs/auth/impl/pam/PAMPasswordService.cpp index a9e91569..60623c28 100644 --- a/src/libs/auth/impl/pam/PAMPasswordService.cpp +++ b/src/libs/auth/impl/pam/PAMPasswordService.cpp @@ -81,7 +81,6 @@ namespace Auth } private: - class ConvContext { public: @@ -159,7 +158,6 @@ namespace Auth ConvContext* _convContext {}; pam_conv _conv {&PAMContext::conv, this}; pam_handle_t *_pamh {}; - }; bool diff --git a/src/libs/auth/impl/pam/PAMPasswordService.hpp b/src/libs/auth/impl/pam/PAMPasswordService.hpp index 400e0b69..7b418f47 100644 --- a/src/libs/auth/impl/pam/PAMPasswordService.hpp +++ b/src/libs/auth/impl/pam/PAMPasswordService.hpp @@ -31,7 +31,6 @@ namespace Auth using PasswordServiceBase::PasswordServiceBase; private: - bool checkUserPassword(Database::Session& session, std::string_view loginName, std::string_view password) override; diff --git a/src/lms/ui/LmsApplication.hpp b/src/lms/ui/LmsApplication.hpp index 2fdd8d10..f6b5217b 100644 --- a/src/lms/ui/LmsApplication.hpp +++ b/src/lms/ui/LmsApplication.hpp @@ -107,7 +107,6 @@ class LmsApplication : public Wt::WApplication Wt::Signal<>& preQuit() { return _preQuit; } private: - void init(); void setTheme(); void processPasswordAuth(); diff --git a/src/lms/ui/SettingsView.cpp b/src/lms/ui/SettingsView.cpp index 90e8a326..7662f385 100644 --- a/src/lms/ui/SettingsView.cpp +++ b/src/lms/ui/SettingsView.cpp @@ -493,7 +493,6 @@ SettingsView::refreshView() saveBtn->clicked().connect([=]() { - { auto transaction {LmsApp->getDbSession().createSharedTransaction()};