github: shadowy octopus with the head of a robot, emblazoned with the Dreamwidth swirl (Default)
github ([personal profile] github) wrote in [site community profile] changelog2023-06-21 12:16 pm

[dreamwidth/dreamwidth] 9d563e: new template constants for username and password m...

Branch: refs/heads/main Home: https://github.com/dreamwidth/dreamwidth Commit: 9d563e2d44116b42b89d8c53084efde747a6fb74 https://github.com/dreamwidth/dreamwidth/commit/9d563e2d44116b42b89d8c53084efde747a6fb74 Author: Jen kareila@dreamwidth.org Date: 2023-06-21 (Wed, 21 Jun 2023)

Changed paths: M cgi-bin/DW/Controller/Admin/Invites.pm M cgi-bin/DW/Controller/Admin/Priv.pm M cgi-bin/DW/Controller/Admin/SpamReports.pm M cgi-bin/DW/Controller/Admin/UserHistory.pm M cgi-bin/DW/Controller/Admin/UserViews.pm M cgi-bin/DW/Controller/ChangeEmail.pm M cgi-bin/DW/Controller/Entry.pm M cgi-bin/DW/Controller/MassPrivacy.pm M cgi-bin/DW/Controller/Media.pm M cgi-bin/DW/Controller/Settings.pm M cgi-bin/DW/Template.pm M cgi-bin/LJ/Talk.pm M views/admin/impersonate.tt M views/admin/invites/promo-edit.tt M views/admin/priv/index.tt M views/admin/priv/viewpriv.tt M views/admin/recent_comments.tt M views/admin/spamreports/index.tt M views/admin/statushistory.tt M views/admin/styleinfo.tt M views/admin/userlog.tt M views/changeemail.tt M views/editprivacy.tt M views/entry/login.tt M views/journal/talkform.tt M views/media/index.tt M views/settings/changepassword.tt M views/settings/lostinfo.tt

Log Message:


new template constants for username and password max lengths (#3132)

  • add TT constant site.maxlength_user

To avoid having to explicitly pass $LJ::USERNAME_MAXLENGTH with templates.

  • add TT constant site.maxlength_pass

Second verse, same as the first.

  • detabify