issues
search
AnnaigJegourel
/
OC-P5-Creez-votre-premier-blog-en-PHP
Blog made from scratch using PHP, OOP, MVC (Study project)
MIT License
2
stars
0
forks
source link
Secure all pages access
#121
Closed
AnnaigJegourel
closed
1 year ago
AnnaigJegourel
commented
1 year ago
Secure admin pages:
[x] Add User role (isAdmin()) condition in adminMethod()
[x] Add message if not admin updatePostFormMethod()
[x] add condition & message to createPostMethod()
[x] add condition & message to updatePostMethod()
Secure user profile pages:
[x] add isLogged() condition to display user profile
[x] add condition & message to updateUserFormMethod()
[x] add condition & message to updatePasswordMethod()
[x] add condition & message to updateUserMethod()
Secure admin pages:
Secure user profile pages: