1HTML::FormHandler::FielUds:e:rPaCsosnwtorridb(u3t)ed PerHlTMDLo:c:uFmoernmtHaatnidolner::Field::Password(3)
2
3
4
6 HTML::FormHandler::Field::Password - password field
7
9 version 0.40068
10
12 The password field has a default minimum length of 6, which can be
13 easily changed:
14
15 has_field 'password' => ( type => 'Password', minlength => 7 );
16
17 It does not come with additional default checks, since password
18 requirements vary so widely. There are a few constraints in the
19 HTML::FormHandler::Types modules which could be used with this field:
20 NoSpaces, WordChars, NotAllDigits. These constraints can be used in
21 the field definitions 'apply':
22
23 use HTML::FormHandler::Types ('NoSpaces', 'WordChars', 'NotAllDigits' );
24 ...
25 has_field 'password' => ( type => 'Password',
26 apply => [ NoSpaces, WordChars, NotAllDigits ],
27 );
28
29 You can add your own constraints in addition, of course.
30
31 If a password field is not required, then the field will be marked
32 'noupdate', to prevent a null from being saved into the database.
33
34 ne_username
35 Set this attribute to the name of your username field (default
36 'username') if you want to check that the password is not the same as
37 the username. Does not check by default.
38
40 FormHandler Contributors - see HTML::FormHandler
41
43 This software is copyright (c) 2017 by Gerda Shank.
44
45 This is free software; you can redistribute it and/or modify it under
46 the same terms as the Perl 5 programming language system itself.
47
48
49
50perl v5.32.0 2020-07-H2T8ML::FormHandler::Field::Password(3)