mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fix an issue where the browser window stuck on spinning with an Oauth user without email. #6874
This commit is contained in:
parent
3416184236
commit
c07c153f15
29
docs/en_US/release_notes_7_9.rst
Normal file
29
docs/en_US/release_notes_7_9.rst
Normal file
@ -0,0 +1,29 @@
|
||||
***********
|
||||
Version 7.9
|
||||
***********
|
||||
|
||||
Release date: 2023-11-23
|
||||
|
||||
This release contains a number of bug fixes and new features since the release of pgAdmin 4 v7.8.
|
||||
|
||||
Supported Database Servers
|
||||
**************************
|
||||
**PostgreSQL**: 11, 12, 13, 14, 15, and 16
|
||||
|
||||
**EDB Advanced Server**: 11, 12, 13, 14 and 15
|
||||
|
||||
Bundled PostgreSQL Utilities
|
||||
****************************
|
||||
**psql**, **pg_dump**, **pg_dumpall**, **pg_restore**: 16.0
|
||||
|
||||
|
||||
New features
|
||||
************
|
||||
|
||||
Housekeeping
|
||||
************
|
||||
|
||||
Bug fixes
|
||||
*********
|
||||
|
||||
| `Issue #6874 <https://github.com/pgadmin-org/pgadmin4/issues/6874>`_ - Fix an issue where the browser window stuck on spinning with an Oauth user without email.
|
@ -103,7 +103,8 @@ def current_user_info():
|
||||
is_admin='true' if current_user.has_role(
|
||||
"Administrator") else 'false',
|
||||
user_id=current_user.id,
|
||||
email=current_user.email.replace("'","\\'"),
|
||||
email=current_user.email.replace("'","\\'") if current_user.email
|
||||
else current_user.email,
|
||||
name=(
|
||||
current_user.username.split('@')[0].replace("'","\\'") if
|
||||
config.SERVER_MODE is True
|
||||
|
Loading…
Reference in New Issue
Block a user