Update UserObserver

pull/4109/head
Daniel Supernault 2023-01-21 05:34:33 -07:00
rodzic 6b1f8651fb
commit 796e374040
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 0DEF1C662C9033F7
1 zmienionych plików z 4 dodań i 0 usunięć

Wyświetl plik

@ -26,6 +26,10 @@ class UserObserver
return;
}
if(Profile::whereUsername($user->username)->exists()) {
return;
}
if (empty($user->profile)) {
$profile = DB::transaction(function() use($user) {
$profile = new Profile();