diff options
author | friendica <info@friendica.com> | 2013-01-27 01:19:24 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-01-27 01:19:24 -0800 |
commit | 28ab6d5bf508120956d575e260ed2fa2b8417e59 (patch) | |
tree | 2bb7a313ecfa5d900cd6a53dfe6fe926c4b7c8e4 /mod/home.php | |
parent | 22bde9b2b797f17841f0ee12df1d12ea9616216f (diff) | |
download | volse-hubzilla-28ab6d5bf508120956d575e260ed2fa2b8417e59.tar.gz volse-hubzilla-28ab6d5bf508120956d575e260ed2fa2b8417e59.tar.bz2 volse-hubzilla-28ab6d5bf508120956d575e260ed2fa2b8417e59.zip |
lostpass fixes and login/logout flow if authenticated but no default channel exists
Diffstat (limited to 'mod/home.php')
-rw-r--r-- | mod/home.php | 4 |
1 files changed, 4 insertions, 0 deletions
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'); + } + }} |