refactor: sa-token-serializer-features 默认不注册任何实现类

This commit is contained in:
click33 2025-03-19 17:12:50 +08:00
parent 05a03b61b7
commit 6f4772d3ab

View File

@ -15,9 +15,6 @@
*/
package cn.dev33.satoken.plugin;
import cn.dev33.satoken.SaManager;
import cn.dev33.satoken.serializer.SaSerializerForBase64UseTianGan;
/**
* SaToken 插件安装自定义序列化器
*
@ -28,7 +25,8 @@ public class SaTokenPluginForSerializerFeatures implements SaTokenPlugin {
@Override
public void install() {
SaManager.setSaSerializerTemplate(new SaSerializerForBase64UseTianGan());
// 默认不注册需要开发者手动注册去选择
// SaManager.setSaSerializerTemplate(new SaSerializerForBase64UseTianGan());
}
}