mirror of
https://github.com/mickael-kerjean/filestash
synced 2025-12-24 17:22:34 +01:00
fix (middleware): "cannot parse time" issue causing infinite loop
This commit is contained in:
parent
e2874f2a9b
commit
7a9f94ce6d
2 changed files with 1 additions and 2 deletions
|
|
@ -115,7 +115,6 @@
|
|||
}
|
||||
.component_supercheckbox{
|
||||
> label{
|
||||
color: var(--emphasis);
|
||||
font-size: 0.95em;
|
||||
font-style: italic;
|
||||
input{
|
||||
|
|
|
|||
|
|
@ -409,7 +409,7 @@ func SessionAuthMiddleware(ctx *App, res http.ResponseWriter, req *http.Request)
|
|||
}
|
||||
mappingToUse[k] = b.String()
|
||||
}
|
||||
mappingToUse["timestamp"] = time.Now().String()
|
||||
mappingToUse["timestamp"] = time.Now().Format(time.RFC3339)
|
||||
return mappingToUse, nil
|
||||
}(templateBind)
|
||||
if err != nil {
|
||||
|
|
|
|||
Loading…
Reference in a new issue