diff src/browser/libervia_main.py @ 871:54f6c5b86a87

server, browser: new "allow_registration" option to enable/disable new account registration through Liberia interface
author Goffi <goffi@goffi.org>
date Mon, 29 Feb 2016 12:40:14 +0100
parents fa7703642c0e
children e8b133b77aa4
line wrap: on
line diff
--- a/src/browser/libervia_main.py	Mon Feb 29 12:37:58 2016 +0100
+++ b/src/browser/libervia_main.py	Mon Feb 29 12:40:14 2016 +0100
@@ -325,7 +325,7 @@
         if not metadata['plugged']:
             warning = metadata.get("warning")
             self.panel.setStyleAttribute("opacity", "0.25")  # set background transparency
-            self._register_box = register.RegisterBox(self.logged)
+            self._register_box = register.RegisterBox(self.logged, metadata)
             self._register_box.centerBox()
             self._register_box.show()
             if warning: