-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #906 from City-of-Helsinki/UHF-9514
UHF-9514: TFA settings
- Loading branch information
Showing
11 changed files
with
109 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
uuid: 90d7b880-aa02-4cff-aeb9-69e03db7a21b | ||
langcode: en | ||
status: true | ||
dependencies: | ||
config: | ||
- key.key.tfa | ||
module: | ||
- real_aes | ||
_core: | ||
default_config_hash: lDV_LbRGbNBnnVa6X72NK7xH7A1T9tasNNgP2hOhHKs | ||
id: real_aes | ||
label: 'Real AES' | ||
encryption_method: real_aes | ||
encryption_key: tfa | ||
encryption_method_configuration: { } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
_core: | ||
default_config_hash: CMyccvAuba2yH-HYmcEL0pq1Seyxzq9VHhKbQKwAWY4 | ||
check_profile_status: true | ||
allow_deprecated_plugins: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
uuid: 05f354f6-4d19-4cb0-9d95-0d16a1573e58 | ||
langcode: en | ||
status: true | ||
dependencies: { } | ||
_core: | ||
default_config_hash: ARfRhKTJUSFXqKkDFwUncBUg8-5v7z_we3DETbYMYB0 | ||
id: tfa | ||
label: TFA | ||
description: '' | ||
key_type: encryption | ||
key_type_settings: | ||
key_size: 256 | ||
key_provider: config | ||
key_provider_settings: | ||
key_value: thisvaluewillbeoverridden1234567 | ||
base64_encoded: true | ||
key_input: text_field | ||
key_input_settings: | ||
base64_encoded: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
_core: | ||
default_config_hash: JyIkFj38h-aTLsrCfejAfP277qBJ61tlaLEBH44IHhg | ||
langcode: en | ||
enabled: true | ||
required_roles: | ||
content_producer: content_producer | ||
editor: editor | ||
admin: admin | ||
super_administrator: super_administrator | ||
survey_editor: survey_editor | ||
send_plugins: { } | ||
login_plugins: { } | ||
login_plugin_settings: | ||
tfa_trusted_browser: | ||
cookie_allow_subdomains: true | ||
cookie_expiration: 30 | ||
cookie_name: tfa-trusted-browser | ||
allowed_validation_plugins: | ||
tfa_totp: tfa_totp | ||
default_validation_plugin: tfa_totp | ||
validation_plugin_settings: | ||
tfa_recovery_code: | ||
recovery_codes_amount: 10 | ||
tfa_hotp: | ||
counter_window: 10 | ||
site_name_prefix: 1 | ||
name_prefix: TFA | ||
issuer: Drupal | ||
tfa_totp: | ||
time_skew: 2 | ||
site_name_prefix: 1 | ||
name_prefix: TFA | ||
issuer: Hel.fi | ||
validation_skip: 3 | ||
users_without_tfa_redirect: false | ||
reset_pass_skip_enabled: true | ||
encryption: real_aes | ||
tfa_flood_uid_only: 1 | ||
tfa_flood_window: 300 | ||
tfa_flood_threshold: 6 | ||
help_text: 'Contact support to reset your access' | ||
mail: | ||
tfa_enabled_configuration: | ||
subject: 'Your [site:name] account now has two-factor authentication' | ||
body: "[user:display-name],\r\n\r\nThanks for configuring two-factor authentication on your [site:name] account!\r\n\r\nThis additional level of security will help to ensure that only you are able to log in to your account.\r\n\r\nIf you ever lose the device you configured, you should act quickly to delete its association with this account.\r\n\r\n--\r\n[site:name] team" | ||
tfa_disabled_configuration: | ||
subject: 'Your [site:name] account no longer has two-factor authentication' | ||
body: "[user:display-name],\r\n\r\nTwo-factor authentication has been disabled on your [site:name] account.\r\n\r\nIf you did not take this action, please contact a site administrator immediately.\r\n\r\n--\r\n[site:name] team" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters