HTML::...rdConf(3pm)

πŸ“¦
version 0.40068 Β· 6 versions
, in debian bookworm, debian trixie, ubuntu noble, ubuntu resolute

πŸ’– HTML::FormHandler::Field::PasswordConf(3pm) β€” aka the password confirmation field ✨

okay bestie, so this page is the manual for HTML::FormHandler::Field::PasswordConf, and it's basically the field that makes sure you typed your password twice and both times match 🫢 lowkey iconic, highkey necessary.

🌸 NAME 🌸

HTML::FormHandler::Field::PasswordConf β€” password confirmation, periodt πŸ’…

πŸ¦‹ VERSION πŸ¦‹

version 0.40068 β€” yes, that's the whole flex πŸ’œ

✨ DESCRIPTION ✨

so real talk: this field has to be declared after the related Password field β€” or, more precisely (and the manpage is being very specific here, love that for us), it needs to come after the Password field in the list returned by the "fields" in HTML::FormHandler method πŸ‘‘

not me putting it first and then wondering why everything is cursed πŸ’€ order matters, bestie.

πŸŽ€ password_field πŸŽ€

set this attribute to the name of your password field β€” the default is 'password' 🌸

and you can customize the error messages 'pass_conf_not_matched' or 'required' if you want them to sound like you. slay:

has_field '_password' => ( type => 'PasswordConf',
     messages => { required => 'You must enter the password a second time' },
);

look at that. immaculate. that's the whole vibe 🧚


πŸ‘‘ AUTHOR πŸ‘‘

FormHandler Contributors β€” see HTML::FormHandler 🌈

this software is copyright (c) 2017 by Gerda Shank πŸŽ€

it's free software, fr fr β€” you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself ⭐


and that's the page! πŸ“ cute little sign-off: this doc came from perl v5.34.0 and is dated 2022-03-25 β€” so you know it's been out here slaying since forever πŸ’– take care of your passwords, they're the main character energy of your whole login 😭πŸ”₯

πŸ“¦ where this page comes from