aboutsummaryrefslogblamecommitdiffstats
path: root/Zotlabs/Module/Login.php
blob: 6430939b4bf557187fb58a2101cbade156ec9b97 (plain) (tree)
1
2
3
4
5
6
7
8
9








                                             


                                                           
                                   


         
<?php
namespace Zotlabs\Module;


class Login extends \Zotlabs\Web\Controller {

	function get() {
		if(local_channel())
			goaway(z_root());
		if(remote_channel() && $_SESSION['atoken'])
			goaway(z_root());

		return login(true);
	}
	
}