Skip to content
Snippets Groups Projects
Commit 8b820834 authored by Gerhard Killesreiter's avatar Gerhard Killesreiter
Browse files

SA-2006-011

parent eaf35401
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
...@@ -854,7 +854,7 @@ function user_login($msg = '') { ...@@ -854,7 +854,7 @@ function user_login($msg = '') {
// Display login form: // Display login form:
if ($msg) { if ($msg) {
$form['message'] = array('#value' => "<p>$msg</p>"); $form['message'] = array('#value' => '<p>'. check_plain($msg) .'</p>');
} }
$form['name'] = array('#type' => 'textfield', $form['name'] = array('#type' => 'textfield',
'#title' => t('Username'), '#title' => t('Username'),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment