Basic brute force detection added. Accounts throttle by captcha after 5 failed attempts, and locked out for 24 hours after 200 attempts.
This commit is contained in:
parent
e0f53df176
commit
9c18c23ad5
13 changed files with 463 additions and 50 deletions
|
|
@ -66,8 +66,7 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.*/
|
|||
--altcha-color-base: var(--bg1);
|
||||
--altcha-color-border: var(--accent1);
|
||||
--altcha-color-text: var(--accent1);
|
||||
--altcha-color-border-focus: currentColor;
|
||||
--altcha-color-error-text: #f23939;
|
||||
--altcha-color-error-text: var(--danger0);
|
||||
--altcha-max-width: 260px;
|
||||
}
|
||||
|
||||
|
|
@ -118,8 +117,25 @@ button:active{
|
|||
box-shadow: var(--focus-glow0-alt0);
|
||||
}
|
||||
|
||||
input{
|
||||
accent-color: var(--focus0);
|
||||
input:focus, textarea:focus{
|
||||
outline: none;
|
||||
box-shadow: var(--focus-glow0);
|
||||
}
|
||||
|
||||
input:checked{
|
||||
accent-color: var(--focus0-alt0);
|
||||
box-shadow: var(--focus-glow0);
|
||||
}
|
||||
|
||||
/* NOT! -Wayne */
|
||||
input:not([type='checkbox']):not(.navbar-item), textarea {
|
||||
border-radius: 1em;
|
||||
border: none;
|
||||
padding: 0.1em 0.5em;
|
||||
}
|
||||
|
||||
textarea{
|
||||
border-bottom-right-radius: 0;
|
||||
}
|
||||
|
||||
.danger-button{
|
||||
|
|
@ -139,7 +155,7 @@ input{
|
|||
box-shadow: var(--danger-glow0-alt1);
|
||||
}
|
||||
|
||||
.danger-link{
|
||||
.danger-link, .danger-text{
|
||||
color: var(--danger0);
|
||||
}
|
||||
|
||||
|
|
@ -200,6 +216,7 @@ div.control-prompt:focus-within{
|
|||
input.control-prompt, input.control-prompt:focus{
|
||||
border: none;
|
||||
outline: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue