细节优化,代码优化,v1.5.3

This commit is contained in:
dathlin
2017-10-02 11:04:37 +08:00
parent 9674029e3e
commit e8da50fda8
6 changed files with 20 additions and 50 deletions

View File

@@ -536,7 +536,7 @@ namespace 软件系统服务端模版
if (!UserServer.ServerSettings.AllowLoginWhenFramewordVersionNotCheck)
{
SystemVersion sv = new SystemVersion(frameworkVersion);
if (sv != SoftBasic.FrameworkVersion)
if (sv < SoftBasic.FrameworkVersion)
{
account.LoginEnable = false;
account.ForbidMessage = "框架版本检测失败,请更新";