Commit 8985fc74 by Rafael Monnerat

slapos_web: Add failover page for BrowserID.

1 parent fa15ada3
......@@ -145,12 +145,20 @@
</value>
</item>
<item>
<key> <string>categories</string> </key>
<value>
<tuple>
<string>aggregate/web_page_module/20161220-23980F</string>
</tuple>
</value>
</item>
<item>
<key> <string>custom_render_method_id</string> </key>
<value> <string>WebSection_browserIdInitiateLogin</string> </value>
<value> <string>WebSite_renderBrowserIDLoginPage</string> </value>
</item>
<item>
<key> <string>default_page_displayed</string> </key>
<value> <int>0</int> </value>
<value> <int>1</int> </value>
</item>
<item>
<key> <string>description</string> </key>
......
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="ZopePageTemplate" module="Products.PageTemplates.ZopePageTemplate"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_bind_names</string> </key>
<value>
<object>
<klass>
<global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/>
</klass>
<tuple/>
<state>
<dictionary>
<item>
<key> <string>_asgns</string> </key>
<value>
<dictionary>
<item>
<key> <string>name_subpath</string> </key>
<value> <string>traverse_subpath</string> </value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>text/html</string> </value>
</item>
<item>
<key> <string>expand</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>WebSite_renderBrowserIDLoginPage</string> </value>
</item>
<item>
<key> <string>output_encoding</string> </key>
<value> <string>utf-8</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <unicode></unicode> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<tal:block xmlns:tal="http://xml.zope.org/namespaces/tal"
xmlns:metal="http://xml.zope.org/namespaces/metal"
xmlns:i18n="http://xml.zope.org/namespaces/i18n">
<tal:block tal:define="form_action string:logged_in;
global form_id string:login_form;
web_site_url python: here.getWebSiteValue().absolute_url();
is_annonymous python: here.portal_membership.isAnonymousUser();">
<tal:block metal:use-macro="here/main_template/macros/master">
<tal:block metal:fill-slot="main">
<h2> Login with Browser ID is over </h2>
<p> The service hosted by Persona for Browser ID was <a href="https://wiki.mozilla.org/Identity/Persona_Shutdown_Guidelines_for_Reliers">Shutdown </a> </p>
<p>You can still login to your account using your email login and including bid_ before: </p>
<p>bid_+ your_email@example.com </p>
<p>Examples of username for Browser ID account: </p>
<ul style="margin-left: 50px">
<li>bid_your_mail@example.com </li>
<li>bid_raf@gmail.com </li>
</ul>
<p>If it is your first login after the shutdown of the service, please click here to reset your password on this link: <a tal:attributes="href python: web_site_url+'/ERP5Site_viewCredentialRecoveryLoginDialog'"> Reset Password</a></p>
<p>If you already had reset your password or if you want to create a traditional user/password account, please click on the button below: </p>
<p><a tal:attributes="href python: web_site_url+'/traditional_login_form'" class="validate"> Login or Create new Account</a></p>
</tal:block>
</tal:block>
</tal:block>
</tal:block>
\ No newline at end of file
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!