Permalink
Browse files

MDL-33331 Strict warning in Shibboleth auth

  • Loading branch information...
micaherne committed May 24, 2012
1 parent cf36df4 commit 7dfe4b92d0da0362449c3412375b752e65c80dff
Showing with 1 addition and 0 deletions.
  1. +1 −0 auth/shibboleth/index.php
@@ -30,6 +30,7 @@
/// If we can find the Shibboleth attribute, save it in session and return to main login page
if (!empty($_SERVER[$pluginconfig->user_attribute])) { // Shibboleth auto-login
+ $frm = new stdClass();
$frm->username = strtolower($_SERVER[$pluginconfig->user_attribute]);
$frm->password = substr(base64_encode($_SERVER[$pluginconfig->user_attribute]),0,8);
// The random password consists of the first 8 letters of the base 64 encoded user ID

0 comments on commit 7dfe4b9

Please sign in to comment.