Skip to content

Commit f369858

Browse files
committed
adds logout event to castle events enum
1 parent f1032b5 commit f369858

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

castle.go

+7-6
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,13 @@ type EventType string
2727

2828
// See https://docs.castle.io/docs/events
2929
const (
30-
EventTypeLogin EventType = "$login"
31-
EventTypeRegistration EventType = "$registration"
32-
EventTypeProfileUpdate EventType = "$profile_update"
33-
EventTypeProfileReset EventType = "$profile_reset"
34-
EventTypePasswordResetRequest EventType = "$password_reset_request"
35-
EventTypeChallenge EventType = "$challenge"
30+
EventTypeLogin EventType = "$login"
31+
EventTypeRegistration EventType = "$registration"
32+
EventTypeProfileUpdate EventType = "$profile_update"
33+
EventTypeProfileReset EventType = "$profile_reset"
34+
EventTypePasswordResetRequest EventType = "$password_reset_request"
35+
EventTypeChallenge EventType = "$challenge"
36+
EventTypeLogout EventType = "&logout"
3637
)
3738

3839
// EventStatus is an enum defining the statuses for a given event.

0 commit comments

Comments
 (0)