mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-13 10:15:40 +00:00
feat(profile): add uploadable avatars with local/S3 storage
Users can upload and remove profile pictures on the profile page. Admins choose local or instance S3 storage in advanced settings. Avatars are compressed to JPEG and served via a private cached route.
This commit is contained in:
1 parent
e50108a905
commit
51561e4bee
23 files changed
+677
-44
No files matched your search
@@ -53,6 +53,9 @@ class User extends Authenticatable implements SendsEmail
|
||||
'pending_email',
|
||||
'email_change_code',
|
||||
'email_change_code_expires_at',
|
||||
'avatar_path',
|
||||
'avatar_storage_type',
|
||||
'avatar_s3_storage_id',
|
||||
];
|
||||
|
||||
protected $hidden = [
|
||||
|
||||
Reference in new issue
Block a user