aboutsummaryrefslogblamecommitdiffstats
path: root/Zotlabs/Module/Login.php
blob: ff75e5268660e4ad5411806b3df0628993ebac89 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13












                                                                                                             
<?php
namespace Zotlabs\Module;


class Login extends \Zotlabs\Web\Controller {

	function get() {
		if(local_channel())
			goaway(z_root());
		return login((\App::$config['system']['register_policy'] == REGISTER_CLOSED) ? false : true);
	}
	
}