Skip to content
Snippets Groups Projects
Commit 0da62c98 authored by Tim Steiner's avatar Tim Steiner
Browse files

Disable user registration when the CAS module is enabled.

git-svn-id: file:///tmp/wdn_thm_drupal/branches/drupal-7.x@92 20a16fea-79d4-4915-8869-1ea9d5ebf173
parent cf686f3d
Branches
Tags
No related merge requests found
<?php
function unl_cas_enable()
{
variable_set('user_register', 0);
}
function unl_cas_init()
{
require_once dirname(__FILE__) . '/lib/CAS/CAS.php';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment