1<?php
2/**
3 * Identity confirmation script.
4 *
5 * Copyright 2005-2017 Horde LLC (http://www.horde.org/)
6 *
7 * See the enclosed file COPYING for license information (LGPL-2). If you
8 * did not receive this file, see http://www.horde.org/licenses/lgpl.
9 *
10 * @author   Jan Schneider <jan@horde.org>
11 * @category Horde
12 * @license  http://www.horde.org/licenses/lgpl LGPL-2
13 * @package  Horde
14 */
15
16require_once __DIR__ . '/../lib/Application.php';
17Horde_Registry::appInit('horde', array('nologintasks' => true));
18
19$identity = $injector->getInstance('Horde_Core_Factory_Identity')->create()->confirmIdentity(Horde_Util::getFormData('h'));
20
21$registry->getServiceLink('prefs')->add('group', 'identities')->redirect();
22