löschen der OTP-Authentifiz...
Bernd Wurst authored 12 years ago
|
modules/googleauth/delete.php 1) <?php
modules/googleauth/delete.php 2) /*
modules/googleauth/delete.php 3) This file belongs to the Webinterface of schokokeks.org Hosting
modules/googleauth/delete.php 4)
modules/googleauth/delete.php 5) Written 2008-2012 by schokokeks.org Hosting, namely
modules/googleauth/delete.php 6) Bernd Wurst <bernd@schokokeks.org>
modules/googleauth/delete.php 7) Hanno Böck <hanno@schokokeks.org>
modules/googleauth/delete.php 8)
modules/googleauth/delete.php 9) To the extent possible under law, the author(s) have dedicated all copyright and related and neighboring rights to this software to the public domain worldwide. This software is distributed without any warranty.
modules/googleauth/delete.php 10)
modules/googleauth/delete.php 11) You should have received a copy of the CC0 Public Domain Dedication along with this software. If not, see
modules/googleauth/delete.php 12) http://creativecommons.org/publicdomain/zero/1.0/
modules/googleauth/delete.php 13)
modules/googleauth/delete.php 14) Nevertheless, in case you use a significant part of this code, we ask (but not require, see the license) that you keep the authors' names in place and return your changes to the public. We would be especially happy if you tell us what you're going to do with this code.
modules/googleauth/delete.php 15) */
modules/googleauth/delete.php 16)
modules/googleauth/delete.php 17) require_once('inc/base.php');
modules/googleauth/delete.php 18) require_role(ROLE_SYSTEMUSER);
modules/googleauth/delete.php 19)
|
Umbenennung Google-Auth nac...
Bernd Wurst authored 12 years ago
|
modules/webmailtotp/delete.php 20) require_once('totp.php');
|
löschen der OTP-Authentifiz...
Bernd Wurst authored 12 years ago
|
modules/googleauth/delete.php 21)
modules/googleauth/delete.php 22) $id = (int) $_REQUEST['id'];
modules/googleauth/delete.php 23)
modules/googleauth/delete.php 24) $account = accountname($id);
modules/googleauth/delete.php 25) $sure = user_is_sure();
modules/googleauth/delete.php 26) if ($sure === NULL)
modules/googleauth/delete.php 27) {
|
Umbenennung Google-Auth nac...
Bernd Wurst authored 12 years ago
|
modules/webmailtotp/delete.php 28) $section='webmailtotp_overview';
modules/webmailtotp/delete.php 29) title("Zwei-Faktor-Anmeldung am Webmailer");
modules/webmailtotp/delete.php 30) are_you_sure("id={$id}", "Möchten Sie die Zwei-Faktor-Anmeldung für das Postfach »{$account}« wirklich entfernen?");
|
löschen der OTP-Authentifiz...
Bernd Wurst authored 12 years ago
|
modules/googleauth/delete.php 31) }
modules/googleauth/delete.php 32) elseif ($sure === true)
modules/googleauth/delete.php 33) {
|
Umbenennung Google-Auth nac...
Bernd Wurst authored 12 years ago
|
modules/webmailtotp/delete.php 34) delete_totp($id);
|