attempting to fix legacy user accounts with less than 20 characters.

This commit is contained in:
2026-05-22 15:34:23 +02:00
parent 6c6764202e
commit df312009b8
5 changed files with 28 additions and 8 deletions

View File

@@ -525,7 +525,7 @@ window.cancelAnimFrame = (function () {
const formData = new FormData(loginForm);
const params = new URLSearchParams(formData);
if (formData.get('password') && formData.get('password').length < 10) {
if (!formData.get('password')) {
let errDiv = loginForm.querySelector('.flash-error');
if (!errDiv) {
errDiv = document.createElement('div');