Skip to content

fFee-ops/Send-a-verification-code-feature

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

基于redis的发送邮箱验证码(40s内有效),以及限制用户登录功能

index是发送验证码功能

实现了用户在客户端输入邮箱,点击发送后随机生成4位数字码。有效期为40秒。 输入验证码,点击验证,返回成功或者失败。

index2.html是限制用户登录功能

实现了用户在2分钟内,仅允许输入错误密码5次。 如果超过次数,限制其登录1小时。(要求每登录失败时,都要给相应提式)


具体详情思路分析在我的CSDN

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published