|  | @@ -57,6 +57,11 @@ func SessionsAuth(ctx iris.Context) {
 | 
												
													
														
															|  |  		ctx.JSON(iris.Map{"code": 1, "msg": "账号不存在"})
 |  |  		ctx.JSON(iris.Map{"code": 1, "msg": "账号不存在"})
 | 
												
													
														
															|  |  		return
 |  |  		return
 | 
												
													
														
															|  |  	}
 |  |  	}
 | 
												
													
														
															|  | 
 |  | +	if accountInfo.Enable == 0 {
 | 
												
													
														
															|  | 
 |  | +		ctx.RemoveCookie("cm")
 | 
												
													
														
															|  | 
 |  | +		ctx.JSON(iris.Map{"code": 1, "msg": "账号被停用"})
 | 
												
													
														
															|  | 
 |  | +		return
 | 
												
													
														
															|  | 
 |  | +	}
 | 
												
													
														
															|  |  
 |  |  
 | 
												
													
														
															|  |  	ctx.Values().Set("accountId", identityId)
 |  |  	ctx.Values().Set("accountId", identityId)
 | 
												
													
														
															|  |  	ctx.Values().Set("projectId", attachedIdentityId)
 |  |  	ctx.Values().Set("projectId", attachedIdentityId)
 |