fix bug login
This commit is contained in:
parent
0d31ea3bac
commit
045510e91a
@ -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;
|
||||
}
|
||||
|
||||
|
||||
@ -27,6 +27,7 @@ class User extends Authenticatable implements MustVerifyEmail
|
||||
'role',
|
||||
'status',
|
||||
'google_id',
|
||||
'photo',
|
||||
'email_verified_at'
|
||||
|
||||
];
|
||||
|
||||
Loading…
Reference in New Issue
Block a user