module updates
This commit is contained in:
13
Zotlabs/Module/Login.php
Normal file
13
Zotlabs/Module/Login.php
Normal file
@@ -0,0 +1,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);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user