fix: ensure approved credentials are reset when id or token settings are modified

This commit is contained in:
Linventif 2025-07-01 01:11:46 +00:00
parent 5cd3608309
commit e468b2fa96

View File

@ -9,6 +9,10 @@ function gmInte.saveSetting(setting, value)
return
end
if setting == "id" || setting == "token" then
gmInte.aprovedCredentials = false
end
// Boolean
if value == "true" then value = true end
if value == "false" then value = false end