- Patch #244597 by drumm: remove login form text as this can now be accomplished using hook form_alter.

merge-requests/26/head
Dries Buytaert 2008-04-10 01:35:31 +00:00
parent 08aa23227e
commit 1dc36aa3d3
1 changed files with 1 additions and 4 deletions

View File

@ -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,