Commit Graph

8 Commits

Author SHA1 Message Date
johnnyq a31387720c Fix self avatar uploading 2024-11-27 13:34:39 -05:00
johnnyq b7163dad6d Add isset check on file upload 2024-11-19 11:59:52 -05:00
johnnyq ff3df12523 allow webp for users and profile 2024-11-18 18:19:57 -05:00
johnnyq 34e09f32e0 Remove unessesary check if file has been uploaded as the function already does that 2024-11-18 16:29:42 -05:00
johnnyq c5aa22a832 Updated profile post to use new logAction function, tidy and added more details to logging 2024-11-12 18:26:04 -05:00
wrongecho 334829c23e Force setup of MFA on login 2024-10-28 21:01:55 +00:00
johnnyq d01d912154 Move logout to a file logout.php in /post fixes issue where one cant logout if in admin section, also redirect to login page with or without login key if set 2024-10-18 00:12:08 -04:00
Marcus Hill 6363d265ca Refactor POST handling.
- Split into admin and user handlers, each admin page gets its own file now
- Enforce role access once for admin POST requests
- Automatically load POST logic for admin-based requests based on the referring page, otherwise automatically load all user request logic
- Add support for using custom POST handlers
2024-09-29 19:02:28 +01:00