Compare commits

...

2 Commits

Author SHA1 Message Date
elordenador 61a04e5040 Fix logins int() None 2026-05-06 09:23:33 +02:00
elordenador e5a0caa8b6 Fix text overflow 2026-05-06 09:23:23 +02:00
2 changed files with 4 additions and 3 deletions
+2 -1
View File
@@ -315,5 +315,6 @@ p.price {
}
.texto-ajustado {
overflow-wrap: anywhere;
overflow-wrap: break-word;
word-wrap: break-word;
}
+2 -2
View File
@@ -245,9 +245,9 @@ def login(request: HttpRequest):
data: str = cache.get(f"tries_login_{username}")
logins: int
if data is None:
logins = int(data)
else:
logins = 0
else:
logins = int(data)
if logins >= 5:
# Si ha fallado 5 intentos de login...