From f156f380d4de118e31036e80144154bdcb664ed6 Mon Sep 17 00:00:00 2001 From: Andinus Date: Sat, 11 Jun 2022 13:59:33 +0530 Subject: Display gallery title, fix authentication, show directories - Earlier non-authenticated users could access the images too. - Serve original image if thumbnail doesn't exist. - Show directories in gallery. - Remove lazy loading attribute. --- lib/Crater/Routes/Auth.rakumod | 1 - 1 file changed, 1 deletion(-) (limited to 'lib/Crater/Routes/Auth.rakumod') diff --git a/lib/Crater/Routes/Auth.rakumod b/lib/Crater/Routes/Auth.rakumod index 23872e9..73e6dc7 100644 --- a/lib/Crater/Routes/Auth.rakumod +++ b/lib/Crater/Routes/Auth.rakumod @@ -13,7 +13,6 @@ sub auth-routes( get -> Crater::Session $session, 'login' { template 'login.crotmp', { :!error }; } - post -> Crater::Session $session, 'login' { request-body -> (:$pass!, *%) { if $password eq $pass { -- cgit 1.4.1-2-gfad0