Actualiser user.h

This commit is contained in:
2026-02-13 13:51:25 +00:00
parent dc641aebc3
commit e1ec174b27

5
user.h
View File

@@ -3,13 +3,14 @@
#include <string> #include <string>
// Rôles disponibles
enum Role { ADMIN, PROF, STUDENT }; enum Role { ADMIN, PROF, STUDENT };
// Structure pour un utilisateur
struct User { struct User {
std::string login; std::string login;
std::string password; std::string password;
Role role; Role role;
}; };
#endif #endif