Skip to content

Commit

Permalink
Merge pull request #313 from RyujiAMANO/fix/312_load-block-message-pr…
Browse files Browse the repository at this point in the history
…oblem-for-login

fix: #312 Load block message in login screen
  • Loading branch information
gigamaster authored Nov 24, 2024
2 parents f9a0809 + 97d2b60 commit 0b1c4cc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions html/modules/user/actions/DefaultAction.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ public function prepare(&$controller, &$xoopsUser, $moduleConfig)
{
parent::prepare($controller, $xoopsUser, $moduleConfig);
$this->_mAllowRegister = $moduleConfig['allow_register'];
// Load the message for the block. Because the template uses the _MB_USER_* message for the block.
XCube_Root::getSingleton()->mLanguageManager->loadBlockMessageCatalog('user');
}

public function getDefaultView(&$controller, &$xoopsUser)
Expand Down

0 comments on commit 0b1c4cc

Please sign in to comment.