build notify mail with first hostname

This commit is contained in:
Martin Zimmermann 2013-10-30 10:06:28 +01:00
parent 0c7a4e44f9
commit 9a8e0b524e

View File

@ -97,7 +97,7 @@ def new(app, environ, request, uri):
except db.IssoDBException: except db.IssoDBException:
abort(403) abort(403)
host = app.conf.get('general', 'host').rstrip("/") host = list(app.conf.getiter('general', 'host'))[0].rstrip("/")
href = host + uri + "#isso-%i" % rv["id"] href = host + uri + "#isso-%i" % rv["id"]
deletion = host + environ["SCRIPT_NAME"] + "/delete/" + app.sign(str(rv["id"])) deletion = host + environ["SCRIPT_NAME"] + "/delete/" + app.sign(str(rv["id"]))