aboutsummaryrefslogtreecommitdiffstats
path: root/mod/login.php
blob: 58af42d7445321f72e60c3164fbedb0671e1d7b6 (plain) (blame)
1
2
3
4
5
6
7
8
<?php

function login_content(&$a) {
	if(x($_SESSION,'theme'))
		unset($_SESSION['theme']);
	return login(($a->config['register_policy'] == REGISTER_CLOSED) ? false : true);

}