We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0a9b224 commit ba82d7aCopy full SHA for ba82d7a
changelog/20375.txt
@@ -0,0 +1,3 @@
1
+```release-note:bug
2
+core: prevent panic on login after namespace is deleted that had mfa enforcement
3
+```
vault/login_mfa.go
@@ -1774,7 +1774,8 @@ ECONFIG_LOOP:
1774
if err != nil {
1775
return nil, fmt.Errorf("failed to find the MFAEnforcementConfig namespace")
1776
}
1777
- if eConfig == nil || (eConfigNS.ID != ns.ID && !ns.HasParent(eConfigNS)) {
+
1778
+ if eConfig == nil || eConfigNS == nil || (eConfigNS.ID != ns.ID && !ns.HasParent(eConfigNS)) {
1779
continue
1780
1781
0 commit comments