Raised max avatar dimensions.

This commit is contained in:
flash 2019-12-04 00:49:46 +01:00
parent d4e4b17a42
commit 00a5d13de9

View file

@ -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),
];
}