浏览代码

v0.3.0-unstable7

Yann Stepienik 2 年之前
父节点
当前提交
c9cea9b6b9
共有 4 个文件被更改,包括 4 次插入4 次删除
  1. 1 1
      client/src/pages/authentication/auth-forms/AuthLogin.jsx
  2. 1 1
      package.json
  3. 1 1
      src/httpServer.go
  4. 1 1
      src/proxy/shield.go

+ 1 - 1
client/src/pages/authentication/auth-forms/AuthLogin.jsx

@@ -185,7 +185,7 @@ const AuthLogin = () => {
                                         label={<Typography variant="h6">Keep me sign in</Typography>}
                                     />*/}
                                     <Link variant="h6" component={RouterLink} to="/ui/forgot-password" color="primary">
-                                        Forgot Password?
+                                        Forgot Your Password?
                                     </Link>
                                 </Stack>
                             </Grid>

+ 1 - 1
package.json

@@ -1,6 +1,6 @@
 {
   "name": "cosmos-server",
-  "version": "0.3.0-unstable6",
+  "version": "0.3.0-unstable7",
   "description": "",
   "main": "test-server.js",
   "bugs": {

+ 1 - 1
src/httpServer.go

@@ -222,7 +222,7 @@ func StartServer() {
 	srapi.Use(proxy.SmartShieldMiddleware(
 		utils.SmartShieldPolicy{
 			Enabled: true,
-			PerUserSimultaneous: 3,
+			PerUserSimultaneous: 8,
 			MaxGlobalSimultaneous: 12,
 			PolicyStrictness: 1,
 			PerUserRequestLimit: 5000,

+ 1 - 1
src/proxy/shield.go

@@ -240,7 +240,7 @@ func SmartShieldMiddleware(policy utils.SmartShieldPolicy) func(http.Handler) ht
 			policy.PolicyStrictness = 2 // NORMAL
 		}
 		if(policy.PerUserSimultaneous == 0) {
-			policy.PerUserSimultaneous = 5
+			policy.PerUserSimultaneous = 8
 		}
 		if(policy.MaxGlobalSimultaneous == 0) {
 			policy.MaxGlobalSimultaneous = 50