Skip to content

Commit bc6ef35

Browse files
committed
Also write user_infos if empty
1 parent 9895b4d commit bc6ef35

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/qwc2_viewer.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -320,8 +320,7 @@ def qwc2_config(self, identity, params):
320320
)
321321

322322
config['username'] = display_username or username
323-
if user_infos:
324-
config['user_infos'] = user_infos
323+
config['user_infos'] = user_infos
325324

326325
return jsonify(config)
327326

0 commit comments

Comments
 (0)