update
parent
8720757f9a
commit
6ca0ded390
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue