X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=plugins%2FCasAuthentication%2Fcaslogin.php;fp=plugins%2FCasAuthentication%2Fcaslogin.php;h=3301ce5824bffdaa80875c3833cce746191a5a63;hb=59119482ca34540bd7f0a2a1aa994de1d5328ea2;hp=be6967381069a7e3c27a2d55fdd60f7414b34b23;hpb=2db8aa3ec3f6804f8f16efe754aafb149f4035c9;p=quix0rs-gnu-social.git diff --git a/plugins/CasAuthentication/caslogin.php b/plugins/CasAuthentication/caslogin.php index be69673810..3301ce5824 100644 --- a/plugins/CasAuthentication/caslogin.php +++ b/plugins/CasAuthentication/caslogin.php @@ -36,13 +36,13 @@ class CasloginAction extends Action $casTempPassword = common_good_rand(16); $user = common_check_user(phpCAS::getUser(), $casTempPassword); if (!$user) { - $this->serverError(_('Incorrect username or password.')); + $this->serverError(_m('Incorrect username or password.')); return; } // success! if (!common_set_user($user)) { - $this->serverError(_('Error setting user. You are probably not authorized.')); + $this->serverError(_m('Error setting user. You are probably not authorized.')); return; } @@ -69,7 +69,6 @@ class CasloginAction extends Action } common_redirect($url, 303); - } } }