From cb26256bb3b80e1291b85131fc9eeea27f3f5ec6 Mon Sep 17 00:00:00 2001 From: Sunil Mohan Adapa Date: Sun, 1 Jun 2014 10:56:16 +0530 Subject: [PATCH] Remove OpenID stub --- modules/installed/services/services.py | 8 +---- .../installed/services/templates/openid.html | 29 ------------------- 2 files changed, 1 insertion(+), 36 deletions(-) delete mode 100644 modules/installed/services/templates/openid.html diff --git a/modules/installed/services/services.py b/modules/installed/services/services.py index 0bf5fb698..71485f8d3 100644 --- a/modules/installed/services/services.py +++ b/modules/installed/services/services.py @@ -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') diff --git a/modules/installed/services/templates/openid.html b/modules/installed/services/templates/openid.html deleted file mode 100644 index 69d6ab8a6..000000000 --- a/modules/installed/services/templates/openid.html +++ /dev/null @@ -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 . -# -{% endcomment %} - -{% block main_block %} - -

One Login for Every Site

- -

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.

- -{% endblock %}