(bpd *management.BreachedPasswordDetection)
| 51 | } |
| 52 | |
| 53 | func makeBreachedPasswordDetectionView(bpd *management.BreachedPasswordDetection) *breachedPasswordDetectionView { |
| 54 | return &breachedPasswordDetectionView{ |
| 55 | Enabled: boolean(bpd.GetEnabled()), |
| 56 | Shields: bpd.GetShields(), |
| 57 | AdminNotificationFrequency: bpd.GetAdminNotificationFrequency(), |
| 58 | Method: bpd.GetMethod(), |
| 59 | |
| 60 | raw: bpd, |
| 61 | } |
| 62 | } |
| 63 | |
| 64 | type bruteForceProtectionView struct { |
| 65 | Enabled string |
no test coverage detected