main
Ilham Wara Nugroho 2026-02-09 14:01:59 +07:00
parent 8720757f9a
commit 6ca0ded390
1 changed files with 1 additions and 1 deletions

View File

@ -137,7 +137,7 @@ class ProfileController extends Controller
'password.regex' => 'Format Kata Sandi harus mengandung minimal Huruf Besar, Huruf Kecil, Angka, Spesial Karakter', 'password.regex' => 'Format Kata Sandi harus mengandung minimal Huruf Besar, Huruf Kecil, Angka, Spesial Karakter',
])->validate(); ])->validate();
$profile = Profile::where('npsn',auth()->user()->profile->npsn)->first(); $profile = Profile::where('npsn',auth()->user()->username)->first();
$profile->alamat_sekolah = $request->alamat_sekolah; $profile->alamat_sekolah = $request->alamat_sekolah;
$profile->kontak_person = $request->kontak_person; $profile->kontak_person = $request->kontak_person;
$profile->telp = $request->telp; $profile->telp = $request->telp;