diff options
| author | maride <maride@darknebu.la> | 2018-10-01 15:01:01 +0200 |
|---|---|---|
| committer | maride <maride@darknebu.la> | 2018-10-01 15:01:01 +0200 |
| commit | 364a18c1f138811e1eba77be5514e458ef2e21a4 (patch) | |
| tree | ec3cdaf17eaf7ec90437cb4c6f459b444c963226 /src/http.go | |
| parent | 715fb688cf599896050bc0adcf711074fb94b73f (diff) | |
Save timestamp when entering flag
Diffstat (limited to 'src/http.go')
| -rw-r--r-- | src/http.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http.go b/src/http.go index 1e60046..6ad5b5e 100644 --- a/src/http.go +++ b/src/http.go @@ -232,7 +232,7 @@ func submitFlagHandler(w http.ResponseWriter, r *http.Request) { if challenge.Flag == flag { // our user found the flag \o/ - challenges[index].FoundFlag = true + challenges[index].FoundFlag = time.Now() correctFlag = true } else { // ow, bummer :( |
