Skip to content
Snippets Groups Projects
Commit 745947b2 authored by Andreas Gohr's avatar Andreas Gohr
Browse files

ignore whitespace in capability testing

parent 964d95c6
No related branches found
No related tags found
No related merge requests found
......@@ -701,7 +701,7 @@ class auth_plugin_authpdo extends DokuWiki_Auth_Plugin {
*/
protected function _chkcnf($keys) {
foreach($keys as $key) {
if(!$this->getConf($key)) return false;
if(!trim($this->getConf($key))) return false;
}
return true;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment