summaryrefslogtreecommitdiff
path: root/lib/plugins/authad
diff options
context:
space:
mode:
authorGerrit Uitslag <klapinklapin@gmail.com>2014-09-29 21:45:27 +0200
committerGerrit Uitslag <klapinklapin@gmail.com>2014-09-29 21:45:27 +0200
commit59bc3b48fdffb76ee65a4b630be3ffa1f6c20c80 (patch)
treee87df15c5ca81556fd1925ad56ba404f664c890e /lib/plugins/authad
parente0c26282a603881e8d2f839d94c28dbbfc57d71b (diff)
downloadrpg-59bc3b48fdffb76ee65a4b630be3ffa1f6c20c80.tar.gz
rpg-59bc3b48fdffb76ee65a4b630be3ffa1f6c20c80.tar.bz2
more scrutinizer issue improvements
Diffstat (limited to 'lib/plugins/authad')
-rw-r--r--lib/plugins/authad/adLDAP/adLDAP.php2
-rw-r--r--lib/plugins/authad/auth.php1
2 files changed, 1 insertions, 2 deletions
diff --git a/lib/plugins/authad/adLDAP/adLDAP.php b/lib/plugins/authad/adLDAP/adLDAP.php
index c1f92abe2..5563e4fe9 100644
--- a/lib/plugins/authad/adLDAP/adLDAP.php
+++ b/lib/plugins/authad/adLDAP/adLDAP.php
@@ -947,5 +947,3 @@ class adLDAP {
* }
*/
class adLDAPException extends Exception {}
-
-?> \ No newline at end of file
diff --git a/lib/plugins/authad/auth.php b/lib/plugins/authad/auth.php
index a3119dda6..65f0b1647 100644
--- a/lib/plugins/authad/auth.php
+++ b/lib/plugins/authad/auth.php
@@ -203,6 +203,7 @@ class auth_plugin_authad extends DokuWiki_Auth_Plugin {
}
//general user info
+ $info = array();
$info['name'] = $result[0]['displayname'][0];
$info['mail'] = $result[0]['mail'][0];
$info['uid'] = $result[0]['samaccountname'][0];