summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2021-12-29 21:56:44 +0100
committerHugo Hörnquist <hugo@lysator.liu.se>2021-12-29 21:56:44 +0100
commitc7718b6550a305b1642304c77c5e4b51f93a997d (patch)
tree578c9ba6177f0c7349e06a213f8fd513ed2e32b6
parentMove cgit conf to hiera. (diff)
downloadcgit-c7718b6550a305b1642304c77c5e4b51f93a997d.tar.gz
cgit-c7718b6550a305b1642304c77c5e4b51f93a997d.tar.xz
Cgit trailing commas.
-rw-r--r--templates/hugo-authentication.lua.epp2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/hugo-authentication.lua.epp b/templates/hugo-authentication.lua.epp
index 0c73644..7ccce05 100644
--- a/templates/hugo-authentication.lua.epp
+++ b/templates/hugo-authentication.lua.epp
@@ -31,7 +31,7 @@ public_repos["<%= $repo %>"] = true
-- A list of users and hashes, generated with `mkpasswd -m sha-512 -R 300000`.
local users = {
<%- $cgit::users.each |$user| { -%>
- <%= $user['name'] %> = "<%= $user['pass'] %>"
+ <%= $user['name'] %> = "<%= $user['pass'] %>",
<%- } -%>
}