If the user's picture cannot be retrieve via the URL provided by OAUTH then it is set to en empty string instead to the default user.png picture. This PR addresses that.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
## 📋 Pull Request Information
**Original PR:** https://github.com/open-webui/open-webui/pull/9195
**Author:** [@rragundez](https://github.com/rragundez)
**Created:** 1/31/2025
**Status:** ✅ Merged
**Merged:** 2/1/2025
**Merged by:** [@tjbck](https://github.com/tjbck)
**Base:** `dev` ← **Head:** `default-picture`
---
### 📝 Commits (1)
- [`30e4b32`](https://github.com/open-webui/open-webui/commit/30e4b32a5b80f2ac9cf07f59eb1c3471479a8830) Set default picture to user.png
### 📊 Changes
**1 file changed** (+1 additions, -1 deletions)
<details>
<summary>View changed files</summary>
📝 `backend/open_webui/utils/oauth.py` (+1 -1)
</details>
### 📄 Description
If the user's picture cannot be retrieve via the URL provided by OAUTH then it is set to en empty string instead to the default `user.png` picture. This PR addresses that.
---
<sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/9195
Author: @rragundez
Created: 1/31/2025
Status: ✅ Merged
Merged: 2/1/2025
Merged by: @tjbck
Base:
dev← Head:default-picture📝 Commits (1)
30e4b32Set default picture to user.png📊 Changes
1 file changed (+1 additions, -1 deletions)
View changed files
📝
backend/open_webui/utils/oauth.py(+1 -1)📄 Description
If the user's picture cannot be retrieve via the URL provided by OAUTH then it is set to en empty string instead to the default
user.pngpicture. This PR addresses that.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.