In PHP 8.1, the return value must be a string, otherwise we get a null deprecated message.
Testing Instructions
Open the url /index.php?option=com_users&view=login
Actual result BEFORE applying this Pull Request
The following error is in the source of the page: Deprecated: base64_encode(): Passing null to parameter #1 ($string) of type string is deprecated in /components/com_users/tmpl/login/default_login.php on line 112
I have tested this item✅ successfully on 79457a8
This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/37336.