Change error text by get_string call
This commit is contained in:
parent
5f6a3a8c81
commit
8341a1ac40
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@
|
|||
require_once(dirname(__FILE__) . '/../../config.php');
|
||||
|
||||
if (!is_enabled_auth('userkey')) {
|
||||
print_error('The userkey authentication plugin is disabled.');
|
||||
print_error(get_string('pluginisdisabled', 'auth_userkey'));
|
||||
}
|
||||
|
||||
get_auth_plugin('userkey')->user_login_userkey();
|
Loading…
Reference in a new issue