--- a/.hgtags Thu Mar 24 09:43:25 2016 +0100
+++ b/.hgtags Tue Jun 21 07:42:30 2016 +0200
@@ -542,3 +542,6 @@
b3cbbb7690b6e193570ffe4846615d372868a923 3.21.6
b3cbbb7690b6e193570ffe4846615d372868a923 debian/3.21.6-1
b3cbbb7690b6e193570ffe4846615d372868a923 centos/3.21.6-1
+636a83e65870433c2560f3c49d55ca628bc96e11 3.20.15
+636a83e65870433c2560f3c49d55ca628bc96e11 debian/3.20.15-1
+636a83e65870433c2560f3c49d55ca628bc96e11 centos/3.20.15-1
--- a/debian/changelog Thu Mar 24 09:43:25 2016 +0100
+++ b/debian/changelog Tue Jun 21 07:42:30 2016 +0200
@@ -46,6 +46,12 @@
-- Julien Cristau <julien.cristau@logilab.fr> Fri, 10 Jul 2015 17:04:11 +0200
+cubicweb (3.20.15-1) unstable; urgency=medium
+
+ * new upstream release
+
+ -- David Douard <david.douard@logilab.fr> Mon, 09 May 2016 17:04:10 +0200
+
cubicweb (3.20.14-1) unstable; urgency=medium
* new upstream release
--- a/server/session.py Thu Mar 24 09:43:25 2016 +0100
+++ b/server/session.py Tue Jun 21 07:42:30 2016 +0200
@@ -1119,7 +1119,7 @@
# CWUser compat for notification ###########################################
def name(self):
- return 'cubicweb'
+ return ''
class _IEmailable:
@staticmethod
--- a/web/views/basetemplates.py Thu Mar 24 09:43:25 2016 +0100
+++ b/web/views/basetemplates.py Tue Jun 21 07:42:30 2016 +0200
@@ -508,8 +508,10 @@
stitle = u' '
w(u'<div class="loginTitle">%s</div>' % stitle)
w(u'<div class="loginContent">\n')
- if showmessage and self._cw.message:
- w(u'<div class="loginMessage">%s</div>\n' % self._cw.message)
+ # don't call self._cw.message twice since it pops the id
+ msg = self._cw.message
+ if showmessage and msg:
+ w(u'<div class="loginMessage">%s</div>\n' % msg)
config = self._cw.vreg.config
if config['auth-mode'] != 'http':
self.login_form(id) # Cookie authentication