Fix backward assignment of M and P in procMemberAuthAccount

This commit is contained in:
Kijin Sung 2024-01-17 14:45:08 +09:00
parent ee9a1a2b20
commit 75198423f3

View file

@ -1898,7 +1898,7 @@ class MemberController extends Member
} }
else else
{ {
$this->setLayoutAndTemplatePaths(Context::get('m') ? 'P' : 'M', $config); $this->setLayoutAndTemplatePaths(Context::get('m') ? 'M' : 'P', $config);
$tpl_file = sprintf('%s%s', $this->getTemplatePath(), 'reset_password.html'); $tpl_file = sprintf('%s%s', $this->getTemplatePath(), 'reset_password.html');
if (!Rhymix\Framework\Storage::exists($tpl_file)) if (!Rhymix\Framework\Storage::exists($tpl_file))
{ {