f7cloud_client/apps/twofactor_nextcloud_notification/templates/challenge.php
2026-03-05 13:40:40 +00:00

15 lines
513 B
PHP

<?php
/**
* SPDX-FileCopyrightText: 2018 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
script('twofactor_nextcloud_notification', 'twofactor_nextcloud_notification-challenge');
?>
<input type="hidden" id="challenge-poll-token" value="<?php p($_['token']); ?>">
<form method="POST" class="2fa-notification-form" id="twofactor-form">
<input type="hidden" name="challenge" value="<?php p($_['token']); ?>">
<div id="twofactor-notification-challenge"></div>
</form>