1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-05 21:13:12 +02:00

You can now use "password" multiple times in the conf (eg in allow::password).

allow {
	mask *;
	password "secret";
	password "letmein";
}

This is always an "OR" type of match, any match means you pass.

I was actually doing this for the dual-cert stuff from previous commit,
where this can come in handy:

link irc1.example.org {
...
    password "AHMYBevUxXKU/S3pdBSjXP4zi4VOetYQQVJXoNYiBR0=" { spkifp; };
    password "jNw8P4QMg9tqjEJ4/lFikXBNHdIGSeN2B4/T322VjIo=" { spkifp; };
...
}
This commit is contained in:
Bram Matthys
2025-09-21 11:31:31 +02:00
parent 877d151da4
commit 4c6e259681
6 changed files with 78 additions and 73 deletions
+1
View File
@@ -1638,6 +1638,7 @@ typedef struct AuthConfig AuthConfig;
* configuration file.
*/
struct AuthConfig {
AuthConfig *prev, *next;
AuthenticationType type; /**< Type of data, one of AUTHTYPE_* */
char *data; /**< Data associated with this record */
};