protecting input type="password"

This commit is contained in:
RobbBienert 2024-10-06 01:13:28 +02:00
parent 74d6eb4925
commit 46f9843a03
4 changed files with 10 additions and 6 deletions

View file

@ -1,4 +1,8 @@
<?php
// Attributes for <input type="password"> to prevent password leaks to
// "intelligent" browser services if toggled to text for showing the password.
define('NO_PASSWORD_FORM_LEAKS', 'autocomplete="off" spellcheck="false" writingsuggestions="false"');
// get weblog link
function blog($date, $url, $section = 'weblog') {
if($section == 'weblog' OR $section == 'comment') {