forked from openSUSE/ap4rc
-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.inc.php.dist
37 lines (30 loc) · 1.76 KB
/
config.inc.php.dist
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<?php
/**
* ap4rc configuration file
*/
// When should an application password expire (Default: "2 MONTH")?
$config['ap4rc_expire_interval'] = "2 MONTH";
// When should the WebUI warn about expiring passwords (Default: "1 WEEK")?
$config['ap4rc_warning_interval'] = "1 WEEK";
// How long should generated passwords be (Default: 64)?
$config['ap4rc_generated_password_length'] = 64;
// Which characters are allowed in an application name (Default: 0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ.,!?(){}[]/*^+%@-)?
$config['application_password_characters'] = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ.,!?(){}[]/*^+%@-)?';
// Username format:
// - 1 = "username@application" (Default)
// -- Dovecot is configured to select by username where "domain" is the application.
// - 2 = "username" / user@example.com (use same username everywhere)
// -- Dovecot is configured to select by username and password.
$config['ap4rc_username_format'] = 1;
// Always hide/show application name column? (true/false)
// (Default: auto - show only if username format does not contain application name.)
// $config['ap4rc_show_application'] = false;
// Use strict user_id lookup?
// (Default: false - assume usernames are unique)
// Roundcube's users table has separate columns for username and mail_host.
// username is not guaranteed to be unique in multi-host/domain setups.
// Setting this to true will lookup application_passwords only for the logged in user_id.
// Setting this to false will lookup application_passwords by username. (Assume username: "john", mail_host: "localhost"
// is the same user as: username: "john" mail_host: "mail.example.com")
// New installs recommended to set this to true.
$config['ap4rc_strict_userid_lookup'] = false;