Use the password from the class instead of the config in passforward.

This commit is contained in:
Sadie Powell 2024-06-30 21:58:44 +01:00
parent 58d775b2b1
commit 97155a912a

View File

@ -65,7 +65,7 @@ public:
return;
// If the connect class requires a password, don't forward it
if (!user->GetClass()->config->getString("password").empty())
if (!user->GetClass()->password.empty())
return;
if (accountapi && accountapi->GetAccountName(user))