History log of /dokuwiki/lib/plugins/authad/auth.php (Results 1 – 25 of 64)
Revision Date Author Comments
# 08b5f5eb 14-May-2026 Andreas Gohr <andi@splitbrain.org>

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 in
initAdLdap() 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 in
initAdLdap() 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

show more ...


# 485f8f35 07-Mar-2026 Andreas Gohr <andi@splitbrain.org>

remove utf8_encode() from authad plugin


# 093fe67e 07-Mar-2026 Andreas Gohr <andi@splitbrain.org>

updated rector and applied it


# a0d03045 03-Jul-2023 fiwswe <53953985+fiwswe@users.noreply.github.com>

return false in getUserData in case of errors

The interface contract for the method getUserData does not allow an empty array to be returned.


# 72203f2c 08-Nov-2023 Andreas Gohr <andi@splitbrain.org>

avoid another warning in authad


# d4f83172 31-Aug-2023 Andreas Gohr <andi@splitbrain.org>

code style: line breaks


# 90fb952c 31-Aug-2023 Andreas Gohr <andi@splitbrain.org>

code style: operator spacing


# 7d34963b 31-Aug-2023 Andreas Gohr <andi@splitbrain.org>

coding style: control flow line breaks


# 177d6836 31-Aug-2023 Andreas Gohr <andi@splitbrain.org>

coding style: control flow whitespaces


# dccd6b2b 30-Aug-2023 Andreas Gohr <andi@splitbrain.org>

coding style: function call spacing


# 8553d24d 30-Aug-2023 Andreas Gohr <andi@splitbrain.org>

Apply rector renames


# bf9be0e3 30-Aug-2023 Andreas Gohr <andi@splitbrain.org>

Apply remaining rector fixes to lib


# ab9790ca 29-Aug-2023 Andreas Gohr <andi@splitbrain.org>

Apply rector fixes to auth plugins


# 0ba8a0de 19-Oct-2022 Andreas Gohr <andi@splitbrain.org>

Merge pull request #3754 from splitbrain/sexplode

introduce sexplode() as a PHP8 safe explode()


# ec34bb30 19-Oct-2022 Andreas Gohr <andi@splitbrain.org>

Update core code to make use of sexplode()

This makes use of our own explode mechanism everywhere were we expect a
fixed number of results.


# 1d5848a6 21-Sep-2022 fiwswe <53953985+fiwswe@users.noreply.github.com>

Replace direct access to $_SERVER with $INPUT->server->…

2nd try on a separate branch
Also fixes a line that was too long

Note: As I do not use this plugin, this is completely untested.

It sh

Replace direct access to $_SERVER with $INPUT->server->…

2nd try on a separate branch
Also fixes a line that was too long

Note: As I do not use this plugin, this is completely untested.

It should fix splitbrain#3778 (unless I made a stupid mistake).

See https://github.com/fiwswe/dokuwiki/commit/ce0feb5f5c38d0e698bd162105fbe61ceb27fca8

show more ...


# 3e2e2c4f 17-Aug-2022 Andreas Gohr <andi@splitbrain.org>

avoid php8 warnings in authad. fixes #3746


# a847f473 14-Jan-2022 pluto00987 <brinel@gmail.com>

Add update_pass option


# bc45a28e 03-Dec-2020 Andreas Gohr <andi@splitbrain.org>

codestyle fixes


# 413313a1 03-Dec-2020 Andreas Gohr <andi@splitbrain.org>

Merge branch 'logging'

* logging:
added JavaScript based filter mechanism
added logging configuration
replaced out calls to dbglog with new Logger calls
added convenience methods to log to o

Merge branch 'logging'

* logging:
added JavaScript based filter mechanism
added logging configuration
replaced out calls to dbglog with new Logger calls
added convenience methods to log to our default facilities
added logviwer admin plugin
added log dir to git
central logging mechanism

show more ...


# d267a3cb 26-Aug-2020 Andreas Gohr <andi@splitbrain.org>

Merge pull request #3115 from moisesbr-dw/sort-with-collator

Sort with collator


# 0489c64b 16-Aug-2020 Moisés Braga Ribeiro <moisesbr@gmail.com>

Changes according to revisions in https://github.com/moisesbr-dw/dokuwiki/pull/2

Many minor details and use of Sort::xyz() instead of intl_xyz() in files outside the "inc" folder.


# 31667ec6 13-Aug-2020 Andreas Gohr <andi@splitbrain.org>

replaced out calls to dbglog with new Logger calls


# 8371b182 20-May-2020 Moisés Braga Ribeiro <moisesbr@gmail.com>

Authorization plugins

[enhancement] group sorting in authplain


# fdd649a2 26-Mar-2020 Andreas Gohr <andi@splitbrain.org>

Rough fix for ActiveDirectory caching

This is a very rough fix for (some) of the problems described in #3025.
It should at least ensure that subsequent calls to
authad->retrieveUsers() will return t

Rough fix for ActiveDirectory caching

This is a very rough fix for (some) of the problems described in #3025.
It should at least ensure that subsequent calls to
authad->retrieveUsers() will return the correct data (or data at all).

The changes in here are as ugly as the original code but should be
simple enough to backport to stable for affected users.

A proper fix would involve setting this whole thing on fire and restart
from the ashes.

show more ...


123