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:
@@ -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 */
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user