Review from code factor
This commit is contained in:
@@ -36,7 +36,6 @@ namespace Auth
|
|||||||
InternalPasswordService(std::size_t maxThrottlerEntries, IAuthTokenService& authTokenService);
|
InternalPasswordService(std::size_t maxThrottlerEntries, IAuthTokenService& authTokenService);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
||||||
bool checkUserPassword(Database::Session& session,
|
bool checkUserPassword(Database::Session& session,
|
||||||
std::string_view loginName,
|
std::string_view loginName,
|
||||||
std::string_view password) override;
|
std::string_view password) override;
|
||||||
|
|||||||
@@ -81,7 +81,6 @@ namespace Auth
|
|||||||
}
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
||||||
class ConvContext
|
class ConvContext
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
@@ -159,7 +158,6 @@ namespace Auth
|
|||||||
ConvContext* _convContext {};
|
ConvContext* _convContext {};
|
||||||
pam_conv _conv {&PAMContext::conv, this};
|
pam_conv _conv {&PAMContext::conv, this};
|
||||||
pam_handle_t *_pamh {};
|
pam_handle_t *_pamh {};
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
bool
|
bool
|
||||||
|
|||||||
@@ -31,7 +31,6 @@ namespace Auth
|
|||||||
using PasswordServiceBase::PasswordServiceBase;
|
using PasswordServiceBase::PasswordServiceBase;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
||||||
bool checkUserPassword(Database::Session& session,
|
bool checkUserPassword(Database::Session& session,
|
||||||
std::string_view loginName,
|
std::string_view loginName,
|
||||||
std::string_view password) override;
|
std::string_view password) override;
|
||||||
|
|||||||
@@ -107,7 +107,6 @@ class LmsApplication : public Wt::WApplication
|
|||||||
Wt::Signal<>& preQuit() { return _preQuit; }
|
Wt::Signal<>& preQuit() { return _preQuit; }
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
||||||
void init();
|
void init();
|
||||||
void setTheme();
|
void setTheme();
|
||||||
void processPasswordAuth();
|
void processPasswordAuth();
|
||||||
|
|||||||
@@ -493,7 +493,6 @@ SettingsView::refreshView()
|
|||||||
|
|
||||||
saveBtn->clicked().connect([=]()
|
saveBtn->clicked().connect([=]()
|
||||||
{
|
{
|
||||||
|
|
||||||
{
|
{
|
||||||
auto transaction {LmsApp->getDbSession().createSharedTransaction()};
|
auto transaction {LmsApp->getDbSession().createSharedTransaction()};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user