// User functions
//
-// Copyright (c) 1996-2022 by the citadel.org team
+// Copyright (c) 1996-2023 by the citadel.org team
//
-// This program is open source software. Use, duplication, or
-// disclosure are subject to the GNU General Public License v3.
+// This program is open source software. Use, duplication, or disclosure is subject to the GNU General Public License v3.
#include "webcit.h"
return;
}
- do_404(h);
+ // The user has no avatar on file. Redirect to a generic avatar.
+ http_redirect(h, "/ctdl/s/images/generic-user-icon-32px.png");
+
+ // Sending a 404 makes the browser request the same thing over and over again.
+ // do_404(h);
}