Skip to content

Commit 42ba6c3

Browse files
committed
change from section to warning
1 parent 109c9a8 commit 42ba6c3

File tree

1 file changed

+15
-26
lines changed

1 file changed

+15
-26
lines changed

README.md

Lines changed: 15 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828

2929
**Documentation**: [https://benavlabs.github.io/crudadmin/](https://benavlabs.github.io/crudadmin/)
3030

31-
> [!WARNING]
31+
> \[!WARNING\]
3232
> CRUDAdmin is still experimental. While actively developed and tested, APIs may change between versions. Upgrade with caution in production environments, always carefuly reading the changelog.
3333
3434
## Features
@@ -131,31 +131,20 @@ Navigate to `/admin` to access your admin interface with:
131131
- Responsive UI with dark/light themes
132132
- Built-in security features
133133

134-
## ⚠️ Security Notice
135-
136-
**Important for SQLite users:** If you're using SQLite databases (which is the default for CRUDAdmin), make sure to add database files to your `.gitignore`:
137-
138-
```gitignore
139-
# SQLite databases - NEVER commit these to version control
140-
*.db
141-
*.sqlite
142-
*.sqlite3
143-
crudadmin_data/ # CRUDAdmin's default admin database directory
144-
145-
# Also exclude database journals
146-
*.db-journal
147-
*.sqlite3-journal
148-
```
149-
150-
**Why this matters:**
151-
- SQLite databases contain sensitive data including admin credentials, session tokens, and user data
152-
- Committing database files to public repositories exposes this sensitive information
153-
- Database files can become large and are not suitable for version control
154-
155-
**What to commit instead:**
156-
- Database schema/migration files
157-
- Sample data files (with fake/sanitized data)
158-
- Configuration files (with placeholder values)
134+
> \[!WARNING\]
135+
> **Important for SQLite users:** If you're using SQLite databases (which is the default for CRUDAdmin), make sure to add database files to your `.gitignore` to avoid committing sensitive data like admin credentials and session tokens.
136+
>
137+
> ```gitignore
138+
> # SQLite databases - NEVER commit these to version control
139+
> *.db
140+
> *.sqlite
141+
> *.sqlite3
142+
> crudadmin_data/
143+
>
144+
> # Also exclude database journals
145+
> *.db-journal
146+
> *.sqlite3-journal
147+
> ```
159148
160149
## Session Backends
161150

0 commit comments

Comments
 (0)