From 066b50ab9cccfed01a471b1800d9374a192deb81 Mon Sep 17 00:00:00 2001 From: "fauzgabriel@gmail.com" Date: Wed, 13 May 2026 14:32:35 +0700 Subject: [PATCH] profile dan user uid --- app/Http/Controllers/Api/AuthController.php | 1 + app/Models/Profile.php | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/app/Http/Controllers/Api/AuthController.php b/app/Http/Controllers/Api/AuthController.php index c9b3929..f876902 100644 --- a/app/Http/Controllers/Api/AuthController.php +++ b/app/Http/Controllers/Api/AuthController.php @@ -61,6 +61,7 @@ class AuthController extends Controller 'nama' => $credentials['name'], 'email' => $credentials['email'], 'role' => $credentials['role'], + 'user_uid' => $credentials['uid'], 'user_id' => $user->id, 'created_by' => $user->id, 'updated_by' => $user->id, diff --git a/app/Models/Profile.php b/app/Models/Profile.php index e961336..d41fed6 100644 --- a/app/Models/Profile.php +++ b/app/Models/Profile.php @@ -17,13 +17,14 @@ class Profile extends Model protected $fillable = [ 'user_id', 'role', + 'user_uid', 'nama', 'email', 'telepon', 'alamat', 'kk', 'ktp', - + 'uid', 'desa_kelurahan_id', 'path_kk', 'file_kk',