]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
trac750 Don't accidentally show login form after user logs in
authorZach Copley <zach@controlyourself.ca>
Fri, 16 Jan 2009 20:19:49 +0000 (20:19 +0000)
committerZach Copley <zach@controlyourself.ca>
Fri, 16 Jan 2009 20:23:11 +0000 (20:23 +0000)
actions/facebookhome.php

index f72f08a3454b9f04ce92d3f13c62cf9800fca309..b780b8cc323957a4365e2d4e5cd4df0c5b6d1aa0 100644 (file)
@@ -71,15 +71,16 @@ class FacebookhomeAction extends FacebookAction
                 // XXX: Do some error handling here
 
                 $this->setDefaults();
-
                 $this->showHome($flink, _('You can now use Identi.ca from Facebook!'));
-
+                return;
+                
             } else {
                 $msg = _('Incorrect username or password.');
             }
         }
 
         $this->showLoginForm($msg);
+        
     }
 
     function setDefaults()