From 28ab6d5bf508120956d575e260ed2fa2b8417e59 Mon Sep 17 00:00:00 2001 From: friendica Date: Sun, 27 Jan 2013 01:19:24 -0800 Subject: lostpass fixes and login/logout flow if authenticated but no default channel exists --- mod/home.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'mod/home.php') diff --git a/mod/home.php b/mod/home.php index f70ff1d02..1bb0148d2 100644 --- a/mod/home.php +++ b/mod/home.php @@ -11,6 +11,10 @@ function home_init(&$a) { if(local_user() && $channel && $channel['xchan_url']) goaway( $channel['xchan_url']); + if(get_account_id()) { + goaway('new_channel'); + } + }} -- cgit v1.2.3