diff --git a/data/update.log b/data/update.log
index 90e8db5..7cf5307 100755
--- a/data/update.log
+++ b/data/update.log
@@ -28,4 +28,10 @@ CREATE INDEX on_options_key_IDX ON on_options ("key");
1. 简化安装过程,无需再手动修改配置安装
2. 新增默认密码安全检测
3. 默认模板增加手机登录按钮
-4. 修复一处XSS漏洞
\ No newline at end of file
+4. 修复一处XSS漏洞
+
+20220216
+1. 修复一处登录漏洞
+
+20220221
+1. 修复默认主题字体图标不显示
\ No newline at end of file
diff --git a/functions/helper.php b/functions/helper.php
index e2ba803..8f571e3 100755
--- a/functions/helper.php
+++ b/functions/helper.php
@@ -28,7 +28,7 @@ function is_login(){
//获取session
$session = $_COOKIE['key'];
//如果已经成功登录
- if($session == $key) {
+ if($session === $key) {
return true;
}
else{
diff --git a/templates/default/index.php b/templates/default/index.php
index 00f4ebc..8902f5a 100755
--- a/templates/default/index.php
+++ b/templates/default/index.php
@@ -90,7 +90,7 @@
?>