protecting input type="password"
This commit is contained in:
parent
74d6eb4925
commit
46f9843a03
4 changed files with 10 additions and 6 deletions
|
@ -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') {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue