summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2025-04-24 12:46:58 +0100
committerSadie Powell <sadie@witchery.services>2025-04-24 12:46:58 +0100
commitfad0a4a0e888b8025b0ae4e456085e28415b0453 (patch)
tree98bf9f117eaed9c0cad6af2dd049cf55c2ef0dd7 /data
parent1630ccedb11842dbe56d8ce2b9e9f54a53b01b8c (diff)
Add support for hashing operator passwords in the config.
Closes #327.
Diffstat (limited to 'data')
-rw-r--r--data/anope.example.conf10
1 files changed, 10 insertions, 0 deletions
diff --git a/data/anope.example.conf b/data/anope.example.conf
index 4e81cd3c3..e8e587b97 100644
--- a/data/anope.example.conf
+++ b/data/anope.example.conf
@@ -875,6 +875,16 @@ opertype
/* An optional password. If defined, the user must login using "/OPERSERV LOGIN" first */
#password = "secret"
+ /*
+ * The algorithm which the above password is hashed with. If this is not set then services will
+ * assume the above password is not hashed.
+ *
+ * You will need to have the appropriate encryption module (e.g. enc_bcrypt) loaded in order
+ * for this to work.
+ *
+ */
+ #password_hash = "bcrypt"
+
/* An optional SSL fingerprint. If defined, it's required to be able to use this opertype. */
#certfp = "ed3383b3f7d74e89433ddaa4a6e5b2d7"