summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
Diffstat (limited to 'data')
-rw-r--r--data/modules.example.conf20
1 files changed, 19 insertions, 1 deletions
diff --git a/data/modules.example.conf b/data/modules.example.conf
index bb9e6f57a..243f77e09 100644
--- a/data/modules.example.conf
+++ b/data/modules.example.conf
@@ -672,7 +672,7 @@ module
/*
* If your database uses a password hashing algorithm that can not be compared using a simple
- * comparison method then you can specify it here to compare locally.
+ * comparison function then you can specify it here to compare locally.
*
* You will need to have the appropriate encryption module (e.g. enc_bcrypt) loaded in order
* for this to work.
@@ -820,6 +820,15 @@ module
/* The token used for authentication. */
token = "BmcxTaiYjoBtayfnxCFq"
+ /*
+ * The algorithm which the above token 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.
+ */
+ #token_hash = "bcrypt"
+
/** A list of glob patterns for methods the token can execute. */
methods = "~anope.message* anope.*"
}
@@ -867,6 +876,15 @@ module
/* The token used for authentication. */
token = "BmcxTaiYjoBtayfnxCFq"
+ /*
+ * The algorithm which the above token 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.
+ */
+ #token_hash = "bcrypt"
+
/** A list of glob patterns for methods the token can execute. */
methods = "~anope.message* anope.*"
}