Update codebase to work with docker setup. a key config is added in .env to make it optional

This commit is contained in:
Afiq Hamzah
2025-07-16 09:22:44 +08:00
parent 4d577233b3
commit 87eccb5234
2 changed files with 19 additions and 4 deletions
@@ -26,9 +26,9 @@ class PermohonanController extends Controller
{
$auth_user = Auth::user();
if(Hash::check($request->passsemula, Auth::user()->password))
return 1;
return response()->json(1);
else
return 0;
return response()->json(0);
}
public function CetakanPB(Request $request)