mirror of
https://github.com/gmod-integration/lua.git
synced 2025-07-07 04:14:30 +00:00
fix: ensure approved credentials are reset when id or token settings are modified
This commit is contained in:
parent
5cd3608309
commit
e468b2fa96
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user