X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Flogin.php;h=ac8c40c3e5f60e97cf98393204ff96ca79fc6fef;hb=03022c6e601f223c92216af9748c764786cf46c2;hp=c187a587fbced39e69656199b8d293f2ffbb3db0;hpb=d35b2d3f3c2128b147a6fa897032262c1f632262;p=quix0rs-gnu-social.git diff --git a/actions/login.php b/actions/login.php index c187a587fb..ac8c40c3e5 100644 --- a/actions/login.php +++ b/actions/login.php @@ -21,13 +21,14 @@ * * @category Login * @package StatusNet - * @author Evan Prodromou + * @author Evan Prodromou + * @author Sarven Capadisli * @copyright 2008-2009 StatusNet, Inc. * @license http://www.fsf.org/licensing/licenses/agpl-3.0.html GNU Affero General Public License version 3.0 * @link http://status.net/ */ -if (!defined('LACONICA')) { +if (!defined('STATUSNET') && !defined('LACONICA')) { exit(1); } @@ -36,7 +37,8 @@ if (!defined('LACONICA')) { * * @category Personal * @package StatusNet - * @author Evan Prodromou + * @author Evan Prodromou + * @author Sarven Capadisli * @license http://www.fsf.org/licensing/licenses/agpl-3.0.html GNU Affero General Public License version 3.0 * @link http://status.net/ */ @@ -162,6 +164,12 @@ class LoginAction extends Action $this->showPage(); } + function showScripts() + { + parent::showScripts(); + $this->autofocus('nickname'); + } + /** * Title of the page *