Just accept all image types for profile pictures

This works as we render things on the browser into a canvas which will
be stored as png on the server
This commit is contained in:
Johannes Zellner
2020-06-02 15:25:27 +02:00
parent d2a3bb7339
commit 4353a05350

View File

@@ -21,7 +21,7 @@
</div>
<div ng-hide="avatarChange.useGravatar" class="preview-avatar">
<img id="previewAvatar" width="128" height="128" class="copy" ng-click="avatarChange.showCustomAvatarSelector()"/>
<input type="file" id="avatarFileInput" style="display: none" accept="image/png"/>
<input type="file" id="avatarFileInput" style="display: none" accept="image/*"/>
</div>
</div>
<div class="modal-footer">