make getUserData() fail safely on non-string inputWhen removing multiple users at once, plugins listening on theAUTH_USER_CHANGE event may pass the array of user names (params[0]for 'delete') to
make getUserData() fail safely on non-string inputWhen removing multiple users at once, plugins listening on theAUTH_USER_CHANGE event may pass the array of user names (params[0]for 'delete') to getUserData(), which crashed authplain with an"Array to string conversion" / illegal offset error.Guard the bundled auth backends so a non-string user fails safelyby returning false, and document that AUTH_USER_CHANGE params[0] isa string for create/modify but a string[] for delete.Fixes #4567
show more ...
Translation update (sk)
Translation update (ro)
fix(authad): avoid warning when initAdLdap is called before opts is populated$this->opts is initialized as an empty array, so the is_array() guard ininitAdLdap() passed even when no domain had bee
fix(authad): avoid warning when initAdLdap is called before opts is populated$this->opts is initialized as an empty array, so the is_array() guard ininitAdLdap() passed even when no domain had been loaded yet, producing an"Undefined array key 'domain'" warning on PHP 8 (e.g. from getUserCount()called by the Popularity admin page).Fixes #4501
remove utf8_encode() from authad plugin
updated rector and applied it
translation update
align url for lib/plugin membersref https://github.com/dokuwiki/dokuwiki/issues/4270- align url of `plugin.info.txt` to standard prefix- realign spacing as applicable
return false in getUserData in case of errorsThe interface contract for the method getUserData does not allow an empty array to be returned.
avoid another warning in authad
adjusted docblocks for renamed class aliases
code style: line breaks
code style: operator spacing
coding style: control flow line breaks
coding style: control flow whitespaces
12345678910>>...17