mirror of
https://github.com/Suwayomi/TachideskJUI.git
synced 2025-12-10 06:42:05 +01:00
Disable Auth settings for the client if its disabled for the server
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user