Adds two factor authentication support (#1237).

Patch by Felix Schäfer.


git-svn-id: http://svn.redmine.org/redmine/trunk@19988 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Go MAEDA
2020-08-29 06:21:50 +00:00
parent 657ddfef45
commit 560bca344a
22 changed files with 656 additions and 4 deletions

View File

@@ -122,6 +122,7 @@ html>body #content { min-height: 600px; }
#login-form input[type=text], #login-form input[type=password] {margin-bottom: 15px;}
#login-form a.lost_password {float:right; font-weight:normal;}
#login-form input#openid_url {background:#fff url(../images/openid-bg.gif) no-repeat 4px 50%; padding-left:24px !important;}
#login-form h3 {text-align: center;}
div.modal { border-radius:5px; background:#fff; z-index:50; padding:4px;}
div.modal h3.title {display:none;}
@@ -793,6 +794,7 @@ html>body .tabular p {overflow:hidden;}
.tabular input, .tabular select {max-width:95%}
.tabular textarea {width:95%; resize:vertical;}
input#twofa_code, img#twofa_code { width: 140px; }
.tabular label{
font-weight: bold;

View File

@@ -664,7 +664,8 @@
#login-form input#username,
#login-form input#password,
#login-form input#openid_url {
#login-form input#openid_url,
#login-form input#twofa_code {
width: 100%;
height: auto;
}