aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2020-10-27 19:54:14 +0100
committerGitHub <noreply@github.com>2020-10-27 19:54:14 +0100
commit49854f58d31a8e2d2f9dd24e17a14357dc8f4da9 (patch)
tree15c42cb759e97d3127e0cb03bcaaca882f8506e4 /apps
parent157c5abbc4bfe822b3bd1e429383b44b62ea3a52 (diff)
parentf6448779ad500d4f50ccf49c1c2a7dd156cc418b (diff)
downloadnextcloud-server-49854f58d31a8e2d2f9dd24e17a14357dc8f4da9.tar.gz
nextcloud-server-49854f58d31a8e2d2f9dd24e17a14357dc8f4da9.zip
Merge pull request #23725 from nextcloud/enh/noid/specify-accept-argument-for-avatar-upload
Specify accept argument to avatar upload input field
Diffstat (limited to 'apps')
-rw-r--r--apps/settings/templates/settings/personal/personal.info.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/settings/templates/settings/personal/personal.info.php b/apps/settings/templates/settings/personal/personal.info.php
index 381ab9a57a0..b78c162c6c9 100644
--- a/apps/settings/templates/settings/personal/personal.info.php
+++ b/apps/settings/templates/settings/personal/personal.info.php
@@ -53,7 +53,7 @@ script('settings', [
<label for="uploadavatar" class="inlineblock button icon-upload svg" id="uploadavatarbutton" title="<?php p($l->t('Upload new')); ?>"></label>
<div class="inlineblock button icon-folder svg" id="selectavatar" title="<?php p($l->t('Select from Files')); ?>"></div>
<div class="hidden button icon-delete svg" id="removeavatar" title="<?php p($l->t('Remove image')); ?>"></div>
- <input type="file" name="files[]" id="uploadavatar" class="hiddenuploadfield">
+ <input type="file" name="files[]" id="uploadavatar" class="hiddenuploadfield" accept="image/*">
<p><em><?php p($l->t('png or jpg, max. 20 MB')); ?></em></p>
<?php else: ?>
<?php p($l->t('Picture provided by original account')); ?>