From 52600ce0b063e68e622b19699841e41b5ddbf2d1 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Tue, 20 May 2008 15:14:12 -0400 Subject: trim whitespace darcs-hash:20080520191412-84dde-a607dbe848279639630edd1ab4616d05cc2318d1.gz --- actions/login.php | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'actions/login.php') diff --git a/actions/login.php b/actions/login.php index ae1c7e7af..9f9c473b5 100644 --- a/actions/login.php +++ b/actions/login.php @@ -1,18 +1,18 @@ . */ @@ -20,7 +20,7 @@ if (!defined('LACONICA')) { exit(1); } class LoginAction extends Action { - + function handle($args) { parent::handle($args); if (common_logged_in()) { @@ -43,7 +43,7 @@ class LoginAction extends Action { common_server_error(_t('Error setting user.')); return; } - # success! + # success! common_redirect(common_local_url('all', array('nickname' => $nickname))); @@ -51,9 +51,9 @@ class LoginAction extends Action { $this->show_form(_t('Incorrect username or password.')); } } - + function show_form($error=NULL) { - + common_show_header(_t('Login')); if (!is_null($error)) { common_element('div', array('class' => 'error'), $msg); -- cgit v1.2.3-54-g00ecf