How arianatovaret7/proyectologin_tp3 works
Proyecto Login is a PHP/MySQL authentication web app. A browser user can register, sign in, view a protected dashboard, sign out, or request and use a temporary password-reset link. Page handlers use shared bootstrap, validation, session, template, and data-access code; the data layer uses PDO against MySQL. The README documents account lockout, access history, idle-session expiry, responsive styling, and local reset-link display. Those capabilities are represented where supported, though some handlers and the schema were not sampled in full.
Main entry points: bootstrap.php Page bootstrap · usuarios.php Account and access data · index.php Sign in · recuperar.php Request reset
Components 18
User workflows
- Sign in
index.php - Create account
registro.php - Request reset
recuperar.php - Set password
restablecer.php - Protected dashboard
dashboard.php - Sign out
logout.php
Shared application
- Page bootstrap
includes/bootstrap.php - Server validation
includes/validaciones.php - Session and CSRF
includes/sesion.php - App configuration
config/config.php
Persistence
- Account and access data
includes/usuarios.php - PDO connection
includes/conexion.php - Database schema
database/proyecto_login.sql
Presentation
- Shared page rendering
includes/plantilla.php - Client-side validation
assets/js/validaciones.js - Responsive styles
assets/css/estilos.css
Other components
- Browser user
- MySQL / MariaDB
Connections 37
- Browser user → Sign in: opens
README.md - Browser user → Create account: opens
README.md - Browser user → Request reset: opens
README.md - Browser user → Set password: opens link
README.md - Browser user → Protected dashboard: views
README.md - Browser user → Sign out: submits
README.md - Sign in → Page bootstrap: loads
index.php - Create account → Page bootstrap: loads
registro.php - Request reset → Page bootstrap: loads
recuperar.php - Set password → Page bootstrap: loads
restablecer.php - Protected dashboard → Page bootstrap: loads
dashboard.php - Sign out → Page bootstrap: loads
logout.php - Page bootstrap → App configuration: loads
includes/bootstrap.php - Page bootstrap → Session and CSRF: loads and starts
includes/bootstrap.php - Page bootstrap → PDO connection: loads
includes/bootstrap.php - Page bootstrap → Server validation: loads
includes/bootstrap.php - Page bootstrap → Account and access data: loads
includes/bootstrap.php - Page bootstrap → Shared page rendering: loads
includes/bootstrap.php - Sign in → Server validation: checks credentials
index.php - Sign in → Account and access data: looks up and records
index.php - Sign in → Session and CSRF: creates session
index.php - Create account → Server validation: validates input
registro.php - Create account → Account and access data: checks and creates account
registro.php - Request reset → Server validation: checks email
recuperar.php - Request reset → Account and access data: creates reset token
recuperar.php - Request reset → Set password: offers local link
recuperar.php - Set password → Account and access data: updates password and token
restablecer.php - Protected dashboard → Session and CSRF: requires login
dashboard.php - Protected dashboard → Account and access data: reads access history
dashboard.php - Sign out → Session and CSRF: ends session
README.md - Account and access data → PDO connection: executes queries via
includes/usuarios.php - PDO connection → App configuration: uses connection settings
includes/conexion.php - PDO connection → MySQL / MariaDB: connects via PDO
includes/conexion.php - Database schema → MySQL / MariaDB: defines tables for
README.md - Shared page rendering → Client-side validation: loads script
includes/plantilla.php - Shared page rendering → Responsive styles: loads stylesheet
includes/plantilla.php - Client-side validation → Browser user: validates forms
README.md