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