diff --git a/README.md b/README.md index e78ec56aa..759254d92 100644 --- a/README.md +++ b/README.md @@ -97,6 +97,17 @@ Once the containers are up, access BookLore in your browser at: http://localhost:6060 ``` +### 6️⃣ First-Time Login + +After starting the containers, you can log into BookLore with the default admin credentials: + +```ini +Username: admin +Password: admin123 +``` +> ⚠️ **Important:** +> You’ll be prompted to change the default password upon your first login to ensure better security. + ## Tech Stack - **Backend:** Spring Boot (Java) diff --git a/booklore-ui/src/app/auth.guard.ts b/booklore-ui/src/app/auth.guard.ts index 7bad209e6..366e2787b 100644 --- a/booklore-ui/src/app/auth.guard.ts +++ b/booklore-ui/src/app/auth.guard.ts @@ -16,6 +16,6 @@ export const AuthGuard: CanActivateFn = (route, state) => { router.navigate(['/change-password']); return false; } - + return true; };