Commit f4618e4b authored by Nigel McNie's avatar Nigel McNie
Browse files

Copyright law sucks :(

parent 480fa10b
......@@ -1197,14 +1197,6 @@ function password_validate(Pieform $form, $values, User $user) {
$form->set_error('password2', get_string('passwordsdonotmatch'));
}
// No Mike, that's a _BAD_ Mike! :)
if (substr($values['password1'], 0, 6) == 'mike01') {
if (!$form->get_property('jsform')) {
die_info('<img src="'
. theme_get_url('images/sidebox1_corner_botright.gif')
. '" alt="(C) 2007 MSS Enterprises"></p>');
}
}
}
class PluginAuth extends Plugin {
......
......@@ -148,6 +148,14 @@ if (isset($key)) {
// Log the user in and send them to the homepage
$USER = new LiveUser();
$USER->reanimate($user->id, $authinstance->id);
// A special greeting for special people
if (in_array($user->username, array('waawaamilk', 'Mjollnir`', 'Ned', 'richardm', 'fmarier'))) {
$SESSION->add_ok_msg('MAMA!!! Maharababy happy to see you :D :D!');
}
else if ($user->username == 'htaccess') {
$SESSION->add_ok_msg('Welcome B-Quack, htaccess!');
}
redirect();
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment