Disable Auth settings for the client if its disabled for the server

This commit is contained in:
Syer10
2021-09-27 22:47:50 -04:00
parent 211f134c20
commit a6967b1baf

View File

@@ -114,6 +114,10 @@ class SettingsServerViewModel @Inject constructor(
auth.value = Auth.BASIC
authUsername.value = username
authPassword.value = password
} else {
auth.value = Auth.NONE
authUsername.value = ""
authPassword.value = ""
}
}.launchIn(scope)
}