diff --git a/lib/websession_webinterface.py b/lib/websession_webinterface.py
index <HASH>..<HASH> 100644
--- a/lib/websession_webinterface.py
+++ b/lib/websession_webinterface.py
@@ -693,7 +693,7 @@ class WebInterfaceYourAccountPages(WebInterfaceDirectory):
 
             # login successful!
             if args['referer']:
-                redirect_to_url(req, args['referer'])
+                redirect_to_url(req, args['referer'], apache.HTTP_MOVED_TEMPORARILY)
             else:
                 return self.display(req, form)
         else:
Using HTTP_MOVED_TEMPORARILY when successful login (otherwise FireFox complains
with HTTP_TEMPORARY_REDIRECT that it have to resend form information to a new
URL.