[PR #80] [MERGED] Fixed accountMFAPolicy wrong options values #219

Closed
opened 2026-05-07 00:19:51 +02:00 by BreizhHardware · 0 comments

📋 Pull Request Information

Original PR: https://github.com/ovh/the-bastion/pull/80
Author: @axl89
Created: 12/7/2020
Status: Merged
Merged: 12/7/2020
Merged by: @speed47

Base: masterHead: mfa-doc-fix


📝 Commits (1)

  • 936988a Fixed accountMFAPolicy wrong options values

📊 Changes

1 file changed (+3 additions, -3 deletions)

View changed files

📝 etc/bastion/bastion.conf.dist (+3 -3)

📄 Description

See configuration.inc:192:

if (!grep { $C->{'accountMFAPolicy'} eq $_ } qw{ disabled enabled password-required totp-required any-required }) {
    $C->{'accountMFAPolicy'} = 'enabled';
}

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ovh/the-bastion/pull/80 **Author:** [@axl89](https://github.com/axl89) **Created:** 12/7/2020 **Status:** ✅ Merged **Merged:** 12/7/2020 **Merged by:** [@speed47](https://github.com/speed47) **Base:** `master` ← **Head:** `mfa-doc-fix` --- ### 📝 Commits (1) - [`936988a`](https://github.com/ovh/the-bastion/commit/936988a9e1895d98f6b40f03480254172d8cd5b0) Fixed accountMFAPolicy wrong options values ### 📊 Changes **1 file changed** (+3 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `etc/bastion/bastion.conf.dist` (+3 -3) </details> ### 📄 Description See [configuration.inc:192](https://github.com/ovh/the-bastion/blob/master/lib/perl/OVH/Bastion/configuration.inc#L192): ```perl if (!grep { $C->{'accountMFAPolicy'} eq $_ } qw{ disabled enabled password-required totp-required any-required }) { $C->{'accountMFAPolicy'} = 'enabled'; } ``` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
BreizhHardware 2026-05-07 00:19:51 +02:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/the-bastion#219
No description provided.