Browse Source

密码策略需求变更,增加日试错次数,达到阈值冻结账号

hella_online_20240913
bjang03 3 months ago
parent
commit
920684b721
  1. 4
      src/views/login/updatePasswordNewTips.vue

4
src/views/login/updatePasswordNewTips.vue

@ -6,7 +6,7 @@
<el-col> <el-col>
<el-form-item label="新密码" prop="password" align="center"> <el-form-item label="新密码" prop="password" align="center">
<el-input v-model="loginData.password" placeholder="请输入新密码" :type="isShowPassword?'text':'password'"/> <el-input v-model="loginData.password" placeholder="请输入新密码" :type="isShowPassword?'text':'password'"/>
<el-icon style="position: absolute; right: 10px;cursor: pointer;" color="#a5a5a5" size="18" @click="isShowPassword = !isShowPassword"> <el-icon style="position: absolute; right: 10px;cursor: pointer;" color="#a5a5a5" size="20" @click="isShowPassword = !isShowPassword">
<View v-if="!isShowPassword"/> <View v-if="!isShowPassword"/>
<Hide v-if="isShowPassword"/> <Hide v-if="isShowPassword"/>
</el-icon> </el-icon>
@ -15,7 +15,7 @@
<el-col> <el-col>
<el-form-item label="确认新密码" prop="againPassword"> <el-form-item label="确认新密码" prop="againPassword">
<el-input v-model="loginData.againPassword" placeholder="请再次新密码" :type="isShowAgainPassword?'text':'password'"/> <el-input v-model="loginData.againPassword" placeholder="请再次新密码" :type="isShowAgainPassword?'text':'password'"/>
<el-icon style="position: absolute; right: 10px;cursor: pointer;" color="#a5a5a5" size="18" @click="isShowAgainPassword = !isShowAgainPassword"> <el-icon style="position: absolute; right: 10px;cursor: pointer;" color="#a5a5a5" size="20" @click="isShowAgainPassword = !isShowAgainPassword">
<View v-if="!isShowAgainPassword"/> <View v-if="!isShowAgainPassword"/>
<Hide v-if="isShowAgainPassword"/> <Hide v-if="isShowAgainPassword"/>
</el-icon> </el-icon>

Loading…
Cancel
Save