Bubka / 2FAuth

A Web app to manage your Two-Factor Authentication (2FA) accounts and generate their security codes
https://docs.2fauth.app/
GNU Affero General Public License v3.0
2.31k stars 152 forks source link

Icon for accounts without an icon doesn't exist #423

Open reeno opened 3 hours ago

reeno commented 3 hours ago

Version

v5.4.2

Details & Steps to reproduce

When an account doesn't have an assigned icon, 2FAuth tries to show the file "/storage/noicon.svg", but this file does not exist, leading to a 404 error.

Reproduce:

Expectation

Either no image is getting tried to load or the image exists

Error & Logs

No response

Execution environment

Date: Wed, 27 Nov 2024 09:38:49 +0000 userAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:132.0) Gecko/20100101 Firefox/132.0 Version: 5.4.2 Environment: local Install path: / Debug: false Cache driver: file Log channel: daily Log level: notice DB driver: sqlite PHP version: 8.3.13 Operating system: Linux interface: cgi-fcgi Auth guard: web-guard webauthn user verification: preferred Trusted proxies: none lastRadarScan: 2024-11-27 09:38:11

Containerization

Additional information

No response

Bubka commented 3 hours ago

Oh right! It has been excluded by the gitignore rules, thx.