Audit logins with new LoginAttempt event (fixes #2377)

This commit is contained in:
Tyler Brazier
2015-11-08 15:05:36 -05:00
parent 59565fd1d1
commit 97b9690711
4 changed files with 27 additions and 1 deletions

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"
}