Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Show creation option when available.

  • Loading branch information...
commit f9a14cc7206836875e274d63c677dbf83db5f6da 1 parent 5f2c35d
paca70 authored
Showing with 1 addition and 2 deletions.
  1. +1 −2  admin/auth.php
View
3  admin/auth.php
@@ -2,7 +2,6 @@
// config.php - allows admin to edit all configuration variables
include("../config.php");
- require_once("$CFG->dirroot/auth/$CFG->auth/lib.php"); //just to make sure that authentication functions are loaded
require_login();
if (!$site = get_site()) {
@@ -54,7 +53,7 @@
} else {
$auth = $config->auth;
}
-
+ require_once("$CFG->dirroot/auth/$auth/lib.php"); //just to make sure that current authentication functions are loaded
if (! isset($config->guestloginbutton)) {
$config->guestloginbutton = 1;
}
Please sign in to comment.
Something went wrong with that request. Please try again.