Change error text by get_string call

This commit is contained in:
Dmitrii Metelkin 2016-08-18 21:51:02 +10:00
parent 5f6a3a8c81
commit 8341a1ac40

View file

@ -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();