cf54502a10b16c985ea28db17885d377226b6145
Bernd Wurst 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) 
Bernd Wurst Copyright year update

Bernd Wurst authored 6 years ago

modules/webmailtotp/delete.php  5) Written 2008-2018 by schokokeks.org Hosting, namely
Bernd Wurst löschen der OTP-Authentifiz...

Bernd Wurst authored 12 years ago

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) 
Bernd Wurst Umbenennung Google-Auth nac...

Bernd Wurst authored 12 years ago

modules/webmailtotp/delete.php 20) require_once('totp.php');
Bernd Wurst 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) {
Bernd Wurst 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?");
Bernd Wurst 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) {
Bernd Wurst Umbenennung Google-Auth nac...

Bernd Wurst authored 12 years ago

modules/webmailtotp/delete.php 34)   delete_totp($id);