Audit logins with new LoginAttempt event (fixes #2377)

This commit is contained in:
Tyler Brazier committed 2015-11-10 00:49:51 -05:00
1 parent 59565fd1d1
commit 97b9690711
4 files changed
+27 -1

No files matched your search

+3
View File
@@ -41,6 +41,7 @@ const (
FolderScanProgress
ExternalPortMappingChanged
RelayStateChanged
LoginAttempt
AllEvents = (1 << iota) - 1
)
@@ -93,6 +94,8 @@ func (t EventType) String() string {
return "ExternalPortMappingChanged"
case RelayStateChanged:
return "RelayStateChanged"
case LoginAttempt:
return "LoginAttempt"
default:
return "Unknown"
}