diff --git a/IRaCIS.Core.Application/Service/Management/UserService.cs b/IRaCIS.Core.Application/Service/Management/UserService.cs index 62d89c426..05f9a0cae 100644 --- a/IRaCIS.Core.Application/Service/Management/UserService.cs +++ b/IRaCIS.Core.Application/Service/Management/UserService.cs @@ -1073,7 +1073,7 @@ namespace IRaCIS.Core.Application.Service //异地登录 loginUser.LoginState = 2; - + await _fusionCache.RemoveByTagAsync(CacheKeys.UserMFATag(loginUser.IdentityUserId)); } } } diff --git a/irc_api.drone.yml b/irc_api.drone.yml index 9b8eba609..3532380ce 100644 --- a/irc_api.drone.yml +++ b/irc_api.drone.yml @@ -48,29 +48,6 @@ steps: commands: - cd /opt/1panel/xc-deploy/Test_IRC/devops-build-publish;sh test-irc-update-or-create-stack.sh v${DRONE_BUILD_NUMBER} -trigger: - branch: - - Test_IRC_Net8 - ---- -kind: pipeline -type: ssh -name: ssh-linux-test-irc-scp-publish - -platform: - os: Linux - arch: 386 - -clone: - disable: true - -server: - host: 106.14.89.110 - user: root - password: - from_secret: test_ssh_pwd - -steps: - name: publish-test-irc-scp commands: - cd /opt/1panel/xc-deploy/Test_IRC_SCP/devops-build-publish;sh pull-build-test-irc-scp-image.sh v${DRONE_BUILD_NUMBER} @@ -78,7 +55,9 @@ steps: trigger: branch: - - Test_IRC_Net8—_SCP_Disable + - Test_IRC_Net8 + + --- kind: pipeline @@ -111,37 +90,7 @@ trigger: --- kind: pipeline type: ssh -name: ssh-linux-test-scp-publish - -platform: - os: Linux - arch: 386 - -clone: - disable: true #禁用默认克隆 - -server: - host: 106.14.89.110 - user: root - password: - from_secret: test_ssh_pwd - -steps: -- name: publish-test-hir-scp - commands: - - cd /opt/1panel/xc-deploy/Test_HIR_SCP/devops-build-publish;sh pull-build-test-hir-scp-image.sh v${DRONE_BUILD_NUMBER} - - cd /opt/1panel/xc-deploy/Test_HIR_SCP ;sh update-image-if-need-then-pull-aliyun.sh v${DRONE_BUILD_NUMBER} -trigger: - branch: - - Test_HIR - - ---- - - -kind: pipeline -type: ssh -name: ssh-linux-test-hir-publish +name: ssh-linux-test-hir platform: os: Linux @@ -161,8 +110,16 @@ steps: commands: - cd /opt/1panel/xc-deploy/Test_HIR/devops-build-publish;sh pull-build-test-hir-image.sh v${DRONE_BUILD_NUMBER} - cd /opt/1panel/xc-deploy/Test_HIR ; sh update-image-if-need-then-pull-aliyun.sh v${DRONE_BUILD_NUMBER} + +- name: publish-test-hir-scp + commands: + - cd /opt/1panel/xc-deploy/Test_HIR_SCP/devops-build-publish;sh pull-build-test-hir-scp-image.sh v${DRONE_BUILD_NUMBER} + - cd /opt/1panel/xc-deploy/Test_HIR_SCP ;sh update-image-if-need-then-pull-aliyun.sh v${DRONE_BUILD_NUMBER} trigger: branch: - Test_HIR + + + \ No newline at end of file