fix bug login

This commit is contained in:
baghizadizn 2025-12-02 05:05:57 +00:00
parent 0d31ea3bac
commit 045510e91a
2 changed files with 2 additions and 1 deletions

View File

@ -568,7 +568,7 @@ if (!function_exists('get_image')) {
}
// If the value of URL is from an online URL
if (str_contains($url, 'http://') && str_contains($url, 'https://')) {
if (str_contains($url, 'http://') || str_contains($url, 'https://')) {
return $url;
}

View File

@ -27,6 +27,7 @@ class User extends Authenticatable implements MustVerifyEmail
'role',
'status',
'google_id',
'photo',
'email_verified_at'
];