Skip to content
Snippets Groups Projects
Commit e4881101 authored by scambra's avatar scambra
Browse files

fix translation for core/lostpassword

parent 0f15bc88
Branches
No related tags found
No related merge requests found
......@@ -158,7 +158,8 @@ class OC_Template{
if($renderas == 'user') {
$this->vars['requesttoken'] = OC_Util::callRegister();
}
$this->l10n = OC_L10N::get($app);
$parts = explode('/', $app); // fix translation when app is something like core/lostpassword
$this->l10n = OC_L10N::get($parts[0]);
header('X-Frame-Options: Sameorigin');
header('X-XSS-Protection: 1; mode=block');
header('X-Content-Type-Options: nosniff');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment