aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--templates/user.html5
1 files changed, 1 insertions, 4 deletions
diff --git a/templates/user.html b/templates/user.html
index 9a3a333..4180407 100644
--- a/templates/user.html
+++ b/templates/user.html
@@ -47,11 +47,8 @@
<br/>
<input type="submit" value="Télécharger les fichiers sélectionnés">
</form>
- {{if ne .UserImpersonation ""}}
- <form action="/download?user={{.UserImpersonation}}" method="GET" class="inlineblk">
- {{else}}
<form action="/download" method="GET" class="inlineblk">
- {{end}}
+ <input type="hidden" name="user" id="userAll" value="{{.UserImpersonation}}">
<input type="submit" value="Télécharger tous les fichiers">
</form>
{{end}}