fix: remove console.log statements from gallery and auth pages
Mirror to GitHub / mirror (push) Successful in 23s
Test and Lint / backend-test (push) Successful in 1m35s
continuous-integration/drone/push Build is passing
Test and Lint / frontend-test (push) Successful in 2m29s
Version and Release / version-bump (push) Failing after 52s
Version and Release / trigger-drone (push) Has been skipped

- Remove debug logging from GalleryView component
- Remove console.error statements from auth contexts
- Clean up image loading error logs
- Replace console statements with comments for production security

No sensitive information is now logged to console in production.
This commit is contained in:
2025-07-17 09:31:21 +02:00
parent 4e214588a7
commit 027c1090a4
10 changed files with 16 additions and 46 deletions
+1 -1
View File
@@ -83,7 +83,7 @@ export const AdminLoginPage: React.FC = () => {
toast.success('Login successful!');
setLoginSuccess(true);
} catch (error: any) {
console.error('Login error:', error);
// Login error handled by UI notification
// Handle network errors gracefully
if (error.code === 'ERR_NETWORK' || error.code === 'ERR_CONNECTION_RESET') {