Browse Source

v0.3.0-unstable7

Yann Stepienik 2 years ago
parent
commit
c9cea9b6b9

+ 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>}
                                         label={<Typography variant="h6">Keep me sign in</Typography>}
                                     />*/}
                                     />*/}
                                     <Link variant="h6" component={RouterLink} to="/ui/forgot-password" color="primary">
                                     <Link variant="h6" component={RouterLink} to="/ui/forgot-password" color="primary">
-                                        Forgot Password?
+                                        Forgot Your Password?
                                     </Link>
                                     </Link>
                                 </Stack>
                                 </Stack>
                             </Grid>
                             </Grid>

+ 1 - 1
package.json

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

+ 1 - 1
src/httpServer.go

@@ -222,7 +222,7 @@ func StartServer() {
 	srapi.Use(proxy.SmartShieldMiddleware(
 	srapi.Use(proxy.SmartShieldMiddleware(
 		utils.SmartShieldPolicy{
 		utils.SmartShieldPolicy{
 			Enabled: true,
 			Enabled: true,
-			PerUserSimultaneous: 3,
+			PerUserSimultaneous: 8,
 			MaxGlobalSimultaneous: 12,
 			MaxGlobalSimultaneous: 12,
 			PolicyStrictness: 1,
 			PolicyStrictness: 1,
 			PerUserRequestLimit: 5000,
 			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
 			policy.PolicyStrictness = 2 // NORMAL
 		}
 		}
 		if(policy.PerUserSimultaneous == 0) {
 		if(policy.PerUserSimultaneous == 0) {
-			policy.PerUserSimultaneous = 5
+			policy.PerUserSimultaneous = 8
 		}
 		}
 		if(policy.MaxGlobalSimultaneous == 0) {
 		if(policy.MaxGlobalSimultaneous == 0) {
 			policy.MaxGlobalSimultaneous = 50
 			policy.MaxGlobalSimultaneous = 50