mirror of
https://github.com/9technologygroup/patchmon.net.git
synced 2025-11-14 02:47:00 +00:00
Updated frontend to snake_case and fixed bugs with some pages that were not showing. Fixed authentication side.
This commit is contained in:
@@ -25,7 +25,9 @@ const authenticateToken = async (req, res, next) => {
|
||||
email: true,
|
||||
role: true,
|
||||
is_active: true,
|
||||
last_login: true
|
||||
last_login: true,
|
||||
created_at: true,
|
||||
updated_at: true
|
||||
}
|
||||
});
|
||||
|
||||
@@ -79,7 +81,10 @@ const optionalAuth = async (req, res, next) => {
|
||||
username: true,
|
||||
email: true,
|
||||
role: true,
|
||||
is_active: true
|
||||
is_active: true,
|
||||
last_login: true,
|
||||
created_at: true,
|
||||
updated_at: true
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user