<%inherit file="/user/settings.html" /> <%namespace name="forms" file="/forms.html"/> <%namespace name="components" file="/components.html"/> <%block name="settings_content"> ${tiles.user.header(c.page_user)}
${h.field_token()|n} ${components.flashmessages()}

${_(u'Login settings')}

%if h.user.can_change_password(c.page_user):
${_("Password")}

${_("Select a new password or leave the fields blank to keep your old one.")}

%endif %if 'openid' in h.allowed_login_types() or 'facebook' in h.allowed_login_types():
${_("Single sign-on services")}

${_("Single sign-on services allow you to use a single login on many web sites.")}

%if not len(c.page_user.openids) and not h.velruse.is_user_connected_to_facebook():
${_("There are no associated single sign-on services.")}
%else:
%for openid in c.page_user.openids: %endfor %if 'facebook' in h.allowed_login_types() and h.velruse.is_user_connected_to_facebook(): %endif
${_("OpenID:")} ${openid.identifier} ${_("remove")}
Facebook ${_("remove")}
%endif ${_("Connect to single sign-on service")}
%endif ${components.savebox(cancel_url=None)}