Files
web/includes/fields/login_fields.php
T
2025-03-07 03:57:09 -07:00

26 lines
578 B
PHP

<?php
$login_fields = [
'method' => 'post',
'action' => 'process.php?action=login',
'login_username' => [
'label' => 'username',
'type' => 'text',
'placeholder' => 'e.g., jsmith',
'validators' => [
'no_spaces',
'check_sql',
],
],
'login_password' => [
'label' => 'password',
'type' => 'password',
'placeholder' => '',
'validators' => [
'no_spaces',
'pw_strength',
'no_backslash',
'check_sql',
],
],
];