summaryrefslogtreecommitdiff
path: root/plugins/CasAuthentication/caslogin.php
diff options
context:
space:
mode:
authorSiebrand Mazeland <s.mazeland@xs4all.nl>2010-09-18 14:31:03 +0200
committerSiebrand Mazeland <s.mazeland@xs4all.nl>2010-09-18 14:31:03 +0200
commit03e600b797e2ca4dc918143325cc0961949f2f55 (patch)
treedda0fae8ad65c936d932622dbdd60bb95ff33270 /plugins/CasAuthentication/caslogin.php
parentf8e91ab33f414e0c0ffbb4d6f312909d196413ce (diff)
Update i18n/L10n
Diffstat (limited to 'plugins/CasAuthentication/caslogin.php')
-rw-r--r--plugins/CasAuthentication/caslogin.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/plugins/CasAuthentication/caslogin.php b/plugins/CasAuthentication/caslogin.php
index a66774dc1..846774e7c 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);
-
}
}
}