From 0a67b8861adfca7b09e59d9639e26b6bf71859a5 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Wed, 11 Mar 2020 14:32:46 +0000 Subject: Warn if the server config contains an unhashed password. This will be made a hard failure in v4. --- include/users.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include/users.h') diff --git a/include/users.h b/include/users.h index ca9c3f557..c08be8c6f 100644 --- a/include/users.h +++ b/include/users.h @@ -149,6 +149,12 @@ struct CoreExport ConnectClass : public refcountbase */ insp::flat_set ports; + /** If non-empty then the password a user must specify in PASS to be assigned to this class. */ + std::string password; + + /** If non-empty then the hash algorithm that the password field is hashed with. */ + std::string passwordhash; + /** Create a new connect class with no settings. */ ConnectClass(ConfigTag* tag, char type, const std::string& mask); -- cgit v1.2.3