Skip to content
This repository was archived by the owner on Mar 3, 2025. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions modules/pinserver_authenticate/pinserver_authenticate.module
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ function pinserver_authenticate_form_user_login_alter(&$form, &$form_state) {

$form['pin'] = array(
'#prefix' => '<span id="pin-login" class="pin-button">',
'#markup' => l('Login via Harvard University ID (HUID).', 'user/pin', array('query' => $query)),
'#markup' => l('Log in using your HarvardKey', 'user/pin', array('query' => $query)),
'#suffix' => '</span>',
'#weight' => -1,
'#attached' => array(
Expand Down Expand Up @@ -259,7 +259,7 @@ function pinserver_authenticate_form_pinserver_config_alter(&$form, &$form_state
*/
function pinserver_authenticate_process_page(&$vars) {
if (arg(0) == 'user' && (arg(1) === 'login' || (arg(1) == '' && user_is_anonymous()))) {
$vars['title'] = t('Sign In');
$vars['title'] = t('Welcome. Please Log In.');
}
}

Expand Down