Files
web/includes/fields/login_fields.php
T
2025-03-06 23:08:52 -07:00

26 lines
590 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',
],
],
];