fix: prevent error 500 on creation of new backoffice user

This commit is contained in:
Valentin Lab
2025-11-03 09:09:36 +01:00
parent a10f0b35d9
commit fd628f3f95

View File

@@ -1,6 +1,8 @@
<?php
return [
// Default configuration group for Gravatar
'default' => [
// --- The default avatar size
'size' => 80,
@@ -12,12 +14,22 @@ return [
// (string) monsterid: a generated 'monster' with different colors, faces, etc.
// (string) wavatar: generated faces with differing features and backgrounds.
// (string) retro: awesome generated, 8-bit arcade-style pixelated faces.
'default' => 'identicon',
'fallback' => 'identicon',
// --- Whether to use HTTPS protocol
'secure' => false,
// --- Set the type of avatars we allow to show
// - g: suitable for display on all websites with any audience type.
// - pg: may contain rude gestures, provocatively dressed individuals, the lesser swear words, or mild violence.
// - r: may contain such things as harsh profanity, intense violence, nudity, or hard drug use.
// - x: may contain hardcore sexual imagery or extremely disturbing violence.
'maxRating' => 'g',
'maximumRating' => 'g',
// --- Force default image to always display
'forceDefault' => false,
// --- Optional file extension appended to URL
'forceExtension' => 'jpg',
]
];