Commit 4651a09f authored by Nigel McNie's avatar Nigel McNie Committed by Nigel McNie

Get the user object from auth_setup()

parent 15fb3554
......@@ -129,6 +129,6 @@ $CFG->themeurl = get_config('wwwroot') . 'theme/' . get_config('theme') . '/stat
// Only do authentication once we know the page theme, so that the login form
// can have the correct theming.
require('auth.php');
auth_setup();
$USER = auth_setup();
?>
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