aboutsummaryrefslogtreecommitdiff
path: root/lib/mauve/web_interface.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/mauve/web_interface.rb')
-rw-r--r--lib/mauve/web_interface.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/mauve/web_interface.rb b/lib/mauve/web_interface.rb
index 225cc33..16e7da2 100644
--- a/lib/mauve/web_interface.rb
+++ b/lib/mauve/web_interface.rb
@@ -165,6 +165,8 @@ EOF
if Authentication.authenticate(usr, pwd)
session['username'] = usr
+ # Clear the flash.
+ flash['error'] = nil
redirect next_page
else
flash['error'] = "Authentication failed."