forked from fedora-infra/noggin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
noggin.cfg.default
60 lines (43 loc) · 1.69 KB
/
noggin.cfg.default
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
TEMPLATES_AUTO_RELOAD = True
# IPA settings
FREEIPA_SERVERS = ['ipa.example.com']
FREEIPA_CACERT = '/etc/ipa/ca.crt'
# Any user with admin privileges
FREEIPA_ADMIN_USER = 'admin'
FREEIPA_ADMIN_PASSWORD = 'adminPassw0rd!'
# UI theme to use, possible themes are in noggin/themes
# THEME = "default"
# Generate with:
# >>> from cryptography.fernet import Fernet
# >>> Fernet.generate_key()
FERNET_SECRET = b'G8ObvrpEEwbjWUO9rU1qAkDQRafAFd39heVKYf6TZi8='
# Session secret
SECRET_KEY = b'monkiesmonkiesmonkiesmonkiesmonkies!!!1111monkies'
SESSION_COOKIE_HTTPONLY = True
# Set to True for prod...
SESSION_COOKIE_SECURE = False
# Default values for new users
# USER_DEFAULTS = {"user_locale": "en-US", "user_timezone": "UTC"}
# How many minutes before the new account activation link expires
# ACTIVATION_TOKEN_EXPIRATION = 30
# How many minutes before a password reset request expires
PASSWORD_RESET_EXPIRATION = 10
# This should be set and updated to reflect IPA's password policy.
# PASSWORD_POLICY = {
# "min": 8, "max": -1
# }
# A temporary directory to store password reset request locks
# PASSWORD_RESET_LOCK_DIR = "/tmp/noggin-pw-reset"
# Email sender
MAIL_DEFAULT_SENDER = "Noggin <noggin@example.com>"
# Set to False for prod
MAIL_SUPPRESS_SEND = True
# email domains that a user cannot use to register or change to
# MAIL_DOMAIN_BLOCKLIST = ['fedoraproject.org']
# URL for the avatar service, typically either
# AVATAR_SERVICE_URL = "https://seccdn.libravatar.org/"
# or
# AVATAR_SERVICE_URL = "https://gravatar.com/"
# The default to show if a user has not set an avatar with the service
# other options are: "mp", "identicon", "monsterid", "wavatar", "retro", "robohash"
# AVATAR_DEFAULT_TYPE = "robohash"