- Patch #244597 by drumm: remove login form text as this can now be accomplished using hook form_alter.
parent
08aa23227e
commit
1dc36aa3d3
|
@ -1148,7 +1148,7 @@ function user_set_authmaps($account, $authmaps) {
|
|||
*
|
||||
* @ingroup forms
|
||||
*/
|
||||
function user_login(&$form_state, $msg = '') {
|
||||
function user_login(&$form_state) {
|
||||
global $user;
|
||||
|
||||
// If we are already logged on, go to the user page instead.
|
||||
|
@ -1157,9 +1157,6 @@ function user_login(&$form_state, $msg = '') {
|
|||
}
|
||||
|
||||
// Display login form:
|
||||
if ($msg) {
|
||||
$form['message'] = array('#value' => '<p>'. check_plain($msg) .'</p>');
|
||||
}
|
||||
$form['name'] = array('#type' => 'textfield',
|
||||
'#title' => t('Username'),
|
||||
'#size' => 60,
|
||||
|
|
Loading…
Reference in New Issue