start with user favicon/locale personalization

This commit is contained in:
lesion
2019-07-24 11:49:02 +02:00
parent fec593bbbc
commit 96e0a0b57c
7 changed files with 74 additions and 34 deletions

View File

@@ -85,6 +85,8 @@ api.delete('/event/notification/:code', eventController.delNotification)
api.get('/settings', settingsController.getAllRequest)
api.post('/settings', jwt, fillUser, isAdmin, settingsController.setRequest)
api.get('/settings/user_locale', settingsController.getUserLocale)
// confirm event
api.get('/event/confirm/:event_id', jwt, isAuth, isAdmin, eventController.confirm)
api.get('/event/unconfirm/:event_id', jwt, isAuth, isAdmin, eventController.unconfirm)