goauth

Fabric plugin for enhanced whitelists
git clone git://git.bain.cz/goauth.git
Log | Files | Refs | README | LICENSE

commit d6a5ccfaf0a34585993885ab1e847a3060fadb11
parent cb5b2a51f6ba3034ac1f65608c54de85e3aacf32
Author: bain <bain@bain.cz>
Date:   Sat, 11 Dec 2021 14:03:33 +0100

fix: save auth db on removal

Diffstat:
Msrc/main/java/cz/bain/plugins/goauth/AuthStore.java | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/src/main/java/cz/bain/plugins/goauth/AuthStore.java b/src/main/java/cz/bain/plugins/goauth/AuthStore.java @@ -67,6 +67,7 @@ public class AuthStore { public boolean remove(String name) { String val = entries.remove(name); + if (val != null) save(); return val != null; }