Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Won't Fix
-
Affects Version/s: 3.8.2
-
Fix Version/s: None
-
Component/s: User management
-
Labels:
-
Affected Branches:MOODLE_38_STABLE
Description
Hello,
In user/edit.php (line 165), we have
$filemanageroptions = array('maxbytes' => $CFG->maxbytes,
{{ 'subdirs' => 0,}}
{{ 'maxfiles' => 1,}}
{{ 'accepted_types' => 'web_image');}}
-This means that users can upload avatar of the maximal size authorizes in moodle. This can lead to abuse. What about using the $CFG>userquota which can be controlled.
What do you guys think about it?
Best regards.
Noel Dieschburg