Auth UI: reset values (#25809)

This commit is contained in:
Michael Geers 2025-12-04 13:39:14 +01:00 • committed by GitHub
parent 10368c239f
commit a5c73442ee
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -508,6 +508,7 @@ export default defineComponent({
reset() {
this.values = { ...this.initialValues } as DeviceValues;
this.test = initialTestState();
this.resetAuthStatus();
},
async loadConfiguration() {
try {
@ -572,6 +573,8 @@ export default defineComponent({
resetAuthStatus() {
this.authOk = false;
this.authProviderUrl = null;
this.authError = null;
this.authLoading = false;
},
async checkAuthStatus() {
this.resetAuthStatus();