diff options
| author | Arda Serdar Pektezol <1669855+pektezol@users.noreply.github.com> | 2023-09-03 16:20:16 +0300 |
|---|---|---|
| committer | Arda Serdar Pektezol <1669855+pektezol@users.noreply.github.com> | 2023-09-03 16:20:16 +0300 |
| commit | 3279b30b3de8e4e9aaa6558ceaa9048b5b9314bd (patch) | |
| tree | 413be21f0ec907a49a34c46eb991eff15a58fb02 /backend/handlers/logs.go | |
| parent | feat: working on rankings, overall rank left (#51) (diff) | |
| download | lphub-3279b30b3de8e4e9aaa6558ceaa9048b5b9314bd.tar.gz lphub-3279b30b3de8e4e9aaa6558ceaa9048b5b9314bd.tar.bz2 lphub-3279b30b3de8e4e9aaa6558ceaa9048b5b9314bd.zip | |
feat: added logs for user update (#55)
Former-commit-id: b1cfb15cd595e93494b370dda6572e48a175d46e
Diffstat (limited to 'backend/handlers/logs.go')
| -rw-r--r-- | backend/handlers/logs.go | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/backend/handlers/logs.go b/backend/handlers/logs.go index 8880607..2b8223a 100644 --- a/backend/handlers/logs.go +++ b/backend/handlers/logs.go | |||
| @@ -12,13 +12,18 @@ import ( | |||
| 12 | 12 | ||
| 13 | const ( | 13 | const ( |
| 14 | LogTypeMod string = "Mod" | 14 | LogTypeMod string = "Mod" |
| 15 | LogTypeLogin string = "User" | 15 | LogTypeUser string = "User" |
| 16 | LogTypeRecord string = "Record" | 16 | LogTypeRecord string = "Record" |
| 17 | 17 | ||
| 18 | LogDescriptionUserLoginSuccess string = "LoginSuccess" | 18 | LogDescriptionUserLoginSuccess string = "LoginSuccess" |
| 19 | LogDescriptionUserLoginFailToken string = "LoginTokenFail" | 19 | LogDescriptionUserLoginFailToken string = "LoginTokenFail" |
| 20 | LogDescriptionUserLoginFailValidate string = "LoginValidateFail" | 20 | LogDescriptionUserLoginFailValidate string = "LoginValidateFail" |
| 21 | LogDescriptionUserLoginFailSummary string = "LoginSummaryFail" | 21 | LogDescriptionUserLoginFailSummary string = "LoginSummaryFail" |
| 22 | LogDescriptionUserUpdateSuccess string = "UpdateSuccess" | ||
| 23 | LogDescriptionUserUpdateFail string = "UpdateFail" | ||
| 24 | LogDescriptionUserUpdateSummaryFail string = "UpdateSummaryFail" | ||
| 25 | LogDescriptionUserUpdateCountrySuccess string = "UpdateCountrySuccess" | ||
| 26 | LogDescriptionUserUpdateCountryFail string = "UpdateCountryFail" | ||
| 22 | 27 | ||
| 23 | LogDescriptionMapSummaryCreate string = "MapSummaryCreate" | 28 | LogDescriptionMapSummaryCreate string = "MapSummaryCreate" |
| 24 | LogDescriptionMapSummaryEdit string = "MapSummaryEdit" | 29 | LogDescriptionMapSummaryEdit string = "MapSummaryEdit" |