Remove OpenID stub

This commit is contained in:
Sunil Mohan Adapa 2014-06-01 10:56:16 +05:30
parent 57487ab2d3
commit cb26256bb3
2 changed files with 1 additions and 36 deletions

View File

@ -11,13 +11,7 @@ class Services(PagePlugin):
PagePlugin.__init__(self, *args, **kwargs)
self.register_page("services")
self.menu = cfg.main_menu.add_item("Services", "icon-list", "/services", 90)
self.menu.add_item("Open ID", "icon-user", "/services/openid", 35)
@cherrypy.expose
def index(self):
return self.openid()
@cherrypy.expose
@require()
def openid(self):
return util.render_template(template='openid', title="Open ID")
raise cherrypy.HTTPRedirect(cfg.server_dir + '/services/xmpp')

View File

@ -1,29 +0,0 @@
{% extends "login_nav.html" %}
{% comment %}
#
# This file is part of Plinth.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
{% endcomment %}
{% block main_block %}
<p class='lead'>One Login for Every Site</p>
<p>Your {{ cfg.box_name }} is also an OpenID machine. It can generate
credentials that allow you to log in to many websites without the need
to remember or enter a separate username and password at each one.</p>
{% endblock %}