Skip to content

阿里云身份宝 or Google Authenticator ,OTP demo

Notifications You must be signed in to change notification settings

suyin58/otp-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

数据库表结构:
CREATE TABLE `t_user` (
  `username` varchar(30) COLLATE utf8_bin NOT NULL,
  `otp_sk` varchar(64) COLLATE utf8_bin NOT NULL,
  PRIMARY KEY (`username`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin;


创建用户:
	运行RegistTest的main方法,注意修改f_temp[临时二维码图片存放目录],email[接收二维码图片邮箱地址]
	
工程部署在tomcat下,登录地址:
	http://127.0.0.1:8580/login.jsp

About

阿里云身份宝 or Google Authenticator ,OTP demo

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages