Raised max avatar dimensions.
This commit is contained in:
parent
d4e4b17a42
commit
00a5d13de9
1 changed files with 2 additions and 2 deletions
|
@ -61,8 +61,8 @@ function user_avatar_is_allowed_type(int $type): bool {
|
|||
|
||||
function user_avatar_default_options(): array {
|
||||
return [
|
||||
'max_width' => \Misuzu\Config::get('avatar.max_width', \Misuzu\Config::TYPE_INT, 1000),
|
||||
'max_height' => \Misuzu\Config::get('avatar.max_height', \Misuzu\Config::TYPE_INT, 1000),
|
||||
'max_width' => \Misuzu\Config::get('avatar.max_width', \Misuzu\Config::TYPE_INT, 2000),
|
||||
'max_height' => \Misuzu\Config::get('avatar.max_height', \Misuzu\Config::TYPE_INT, 2000),
|
||||
'max_size' => \Misuzu\Config::get('avatar.max_height', \Misuzu\Config::TYPE_INT, 500000),
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue