about summary refs log tree commit diff
path: root/src/http.go
diff options
context:
space:
mode:
authormaride <maride@darknebu.la>2018-10-01 15:01:01 +0200
committermaride <maride@darknebu.la>2018-10-01 15:01:01 +0200
commit364a18c1f138811e1eba77be5514e458ef2e21a4 (patch)
treeec3cdaf17eaf7ec90437cb4c6f459b444c963226 /src/http.go
parent715fb688cf599896050bc0adcf711074fb94b73f (diff)
Save timestamp when entering flag
Diffstat (limited to 'src/http.go')
-rw-r--r--src/http.go2
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 :(