aboutsummaryrefslogtreecommitdiff
path: root/client/html
diff options
context:
space:
mode:
authorShyam Sunder2021-09-13 14:24:07 -0400
committerShyam Sunder2021-09-13 14:24:07 -0400
commitf58079e12edd3c4dcc3f8b8dab572207b235aeff (patch)
tree4fd185160ac13f6b95b1eb25bf93a4a96e3ee5e6 /client/html
parentbe0c867d25897da50b6df1b969b7e21bca2fa888 (diff)
client/upload: force enable 'upload anonymously' for anon users
Fixes #425
Diffstat (limited to 'client/html')
-rw-r--r--client/html/post_upload_row.tpl1
1 files changed, 1 insertions, 0 deletions
diff --git a/client/html/post_upload_row.tpl b/client/html/post_upload_row.tpl
index c7cc5db..2885e3d 100644
--- a/client/html/post_upload_row.tpl
+++ b/client/html/post_upload_row.tpl
@@ -61,6 +61,7 @@
text: 'Upload anonymously',
name: 'anonymous',
checked: ctx.uploadable.anonymous,
+ readonly: ctx.uploadable.forceAnonymous,
}) %>
</div>
<% } %>

© 2015 - 2026 Jakob L. Kreuze