From 4f36ca6b0f5472951eb44f67749a546aa141c039 Mon Sep 17 00:00:00 2001 From: "Satrya.IY29" Date: Tue, 9 Jun 2026 11:15:01 +0000 Subject: [PATCH] Update auth.php --- auth.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/auth.php b/auth.php index 1df4a61..f19494a 100644 --- a/auth.php +++ b/auth.php @@ -26,4 +26,8 @@ function getUserRole() { return $_SESSION['role'] ?? 'guest'; } +function getUserIbadahId() { + return $_SESSION['id_rumah_ibadah'] ?? null; +} + ?> \ No newline at end of file