Audit logins with new LoginAttempt event (fixes #2377)
This commit is contained in:
@@ -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"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user