forked from sandstorm/NeosTwoFactorAuthentication
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSettings.yaml
54 lines (49 loc) · 1.88 KB
/
Settings.yaml
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
Neos:
Neos:
fusion:
autoInclude:
'Sandstorm.NeosTwoFactorAuthentication': true
modules:
management:
submodules:
twoFactorAuthentication:
controller: 'Sandstorm\NeosTwoFactorAuthentication\Controller\BackendController'
label: 'Sandstorm.NeosTwoFactorAuthentication:Backend:module.label'
description: 'Sandstorm.NeosTwoFactorAuthentication:Backend:module.description'
icon: 'fas fa-qrcode'
userInterface:
translation:
autoInclude:
'Sandstorm.NeosTwoFactorAuthentication':
- '*'
backendLoginForm:
stylesheets:
'Sandstorm.NeosTwoFactorAuthentication:AdditionalStyles': 'resource://Sandstorm.NeosTwoFactorAuthentication/Public/Styles/Login.css'
Flow:
http:
middlewares:
'secondFactorRedirectMiddleware':
middleware: 'Sandstorm\NeosTwoFactorAuthentication\Http\Middleware\SecondFactorMiddleware'
position: 'after securityEntryPoint'
mvc:
routes:
'Sandstorm.NeosTwoFactorAuthentication': true
security:
authentication:
providers:
'Neos.Neos:Backend':
requestPatterns:
'Sandstorm.NeosTwoFactorAuthentication:SecondFactor':
pattern: 'ControllerObjectName'
patternOptions:
controllerObjectNamePattern: 'Sandstorm\NeosTwoFactorAuthentication\Controller\(LoginController|BackendController)'
Sandstorm:
NeosTwoFactorAuthentication:
# enforce 2FA for all users
enforceTwoFactorAuthentication: false
# enforce 2FA for specific authentication providers
enforce2FAForAuthenticationProviders : []
# enforce 2FA for specific roles
enforce2FAForRoles: []
# (optional) if set this will be used as a naming convention for the TOTP. If empty the Site name will be used
issuerName: ''