You are here

function securelogin_block_view_user_login_block_alter in Secure Login 8

Implements hook_block_view_BASE_BLOCK_ID_alter().

File

./securelogin.module, line 41
Secure login module.

Code

function securelogin_block_view_user_login_block_alter(array &$build, BlockPluginInterface $block) {

  // User module alters the form action after the user login block is built, so
  // now we may need to re-secure it.
  $build['#pre_render'][] = 'securelogin.manager:userLoginBlockPreRender';
}