Alerts: replace 'error' class with 'danger'
This commit is contained in:
@@ -44,7 +44,7 @@ class Login extends HTMLController
|
||||
parent::__construct('Log in - ' . SITE_TITLE);
|
||||
$form = new LogInForm('Log in');
|
||||
if ($login_error)
|
||||
$form->adopt(new Alert('', 'Invalid email address or password.', 'error'));
|
||||
$form->adopt(new Alert('', 'Invalid email address or password.', 'danger'));
|
||||
|
||||
// Tried anything? Be helpful, at least.
|
||||
if (isset($_POST['emailaddress']))
|
||||
|
||||
Reference in New Issue
Block a user