diff options
Diffstat (limited to 'imgs.go')
| -rw-r--r-- | imgs.go | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -102,8 +102,7 @@ func imgs(w http.ResponseWriter, r *http.Request) { } else if err != nil { log.Println(err) } - sendFlash(w, r, "redirect", r.URL.String()) - http.Redirect(w, r, "/login", http.StatusSeeOther) + unauthorized(w, r) } func extractImgsGlob(userDocPath string) ([]Doc, error) { |
