File size: 851 Bytes
c7257f7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
---

title: Aa21123a
emoji: 🐨
colorFrom: red
colorTo: gray
sdk: static
pinned: false
---


Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
"# cbc"

# Čebelarstvo Cigoj Admin Panel

## Admin Usage
- Login: `/admin_login.php` (username: `admin`, password: your set password)
- Dashboard: `/backend.php` (requires login)
- Logout: `/logout.php` (clears session)

## Troubleshooting
- If you get redirected to login repeatedly, check your database for the correct admin user and role.
- If preview/iframe blocks navigation, use the "Open dashboard in new tab" button after login.

## Security
- Remove `DISABLE_RATE_LIMIT` for production.
- Set cookies to `secure` and `SameSite=None` for HTTPS deployments.
- Change the hardcoded JWT secret in `config.php` before going live.