Explorar el Código

Set default picture to user.png

Rodrigo Agundez hace 3 meses
padre
commit
30e4b32a5b
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      backend/open_webui/utils/oauth.py

+ 1 - 1
backend/open_webui/utils/oauth.py

@@ -274,7 +274,7 @@ class OAuthManager:
                         log.error(
                             f"Error downloading profile image '{picture_url}': {e}"
                         )
-                        picture_url = ""
+                        picture_url = "/user.png"
                 if not picture_url:
                     picture_url = "/user.png"