mirror of
https://github.com/Dispatcharr/Dispatcharr.git
synced 2026-07-28 12:36:42 +00:00
Allow setting blank XC password.
This commit is contained in:
parent
6a57d4a7c7
commit
e9d60cdb1e
1 changed files with 2 additions and 3 deletions
|
|
@ -78,9 +78,8 @@ const User = ({ user = null, isOpen, onClose }) => {
|
|||
user?.custom_properties || '{}'
|
||||
);
|
||||
|
||||
if (values.xc_password) {
|
||||
customProps.xc_password = values.xc_password;
|
||||
}
|
||||
// Always save xc_password, even if it's empty (to allow clearing)
|
||||
customProps.xc_password = values.xc_password || '';
|
||||
delete values.xc_password;
|
||||
|
||||
values.custom_properties = JSON.stringify(customProps);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue