6dc51ba446a2faec08d321f9703e7c34a0aa82c6
bernd webinterface => /webinterface

bernd authored 17 years ago

modules/index/new_password.php           1) <?php
Bernd Wurst Added license tags for CC0,...

Bernd Wurst authored 12 years ago

modules/index/new_customer_password.php  2) /*
modules/index/new_customer_password.php  3) This file belongs to the Webinterface of schokokeks.org Hosting
modules/index/new_customer_password.php  4) 
Bernd Wurst Lizenzinfos in eigenes Modu...

Bernd Wurst authored 10 years ago

modules/index/lost_password.php          5) Written 2008-2014 by schokokeks.org Hosting, namely
Bernd Wurst Added license tags for CC0,...

Bernd Wurst authored 12 years ago

modules/index/new_customer_password.php  6)   Bernd Wurst <bernd@schokokeks.org>
modules/index/new_customer_password.php  7)   Hanno Böck <hanno@schokokeks.org>
modules/index/new_customer_password.php  8) 
modules/index/new_customer_password.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/index/new_customer_password.php 10) 
modules/index/new_customer_password.php 11) You should have received a copy of the CC0 Public Domain Dedication along with this software. If not, see 
modules/index/new_customer_password.php 12) http://creativecommons.org/publicdomain/zero/1.0/
modules/index/new_customer_password.php 13) 
modules/index/new_customer_password.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/index/new_customer_password.php 15) */
modules/index/new_customer_password.php 16) 
bernd Benutze überall title() sta...

bernd authored 13 years ago

modules/index/new_customer_password.php 17) title("Neues Passwort beantragen");
bernd webinterface => /webinterface

bernd authored 17 years ago

modules/index/new_password.php          18) 
modules/index/new_password.php          19) //require_once('inc/error.php');
modules/index/new_password.php          20) //system_failure("Diese Funktion ist noch nicht fertiggestellt.");
modules/index/new_password.php          21) 
Bernd Wurst Passwort-Reset-Funktion akt...

Bernd Wurst authored 7 years ago

modules/index/lost_password.php         22) if (isset($_POST['username']))
bernd webinterface => /webinterface

bernd authored 17 years ago

modules/index/new_password.php          23) {
modules/index/new_password.php          24)   require_once('newpass.php');
Bernd Wurst Passwort-Reset-Funktion akt...

Bernd Wurst authored 7 years ago

modules/index/lost_password.php         25)   $username = find_username($_POST['username']);
modules/index/lost_password.php         26)   if ($username)
bernd webinterface => /webinterface

bernd authored 17 years ago

modules/index/new_password.php          27)   {
Bernd Wurst Passwort-Reset-Funktion akt...

Bernd Wurst authored 7 years ago

modules/index/lost_password.php         28)     if (create_token($username))
bernd webinterface => /webinterface

bernd authored 17 years ago

modules/index/new_password.php          29)     {
modules/index/new_password.php          30)       require_once('mail.php');
bernd Logging aktiviert

bernd authored 16 years ago

modules/index/new_password.php          31)       require_once('inc/base.php');
Bernd Wurst Passwort-Reset-Funktion akt...

Bernd Wurst authored 7 years ago

modules/index/lost_password.php         32)       send_user_token($username);
modules/index/lost_password.php         33)       logger(LOG_INFO, "modules/index/lost_password", "pwrecovery", "token sent for customer »{$_POST['username']}/{$username}«");
bernd webinterface => /webinterface

bernd authored 17 years ago

modules/index/new_password.php          34)     }
modules/index/new_password.php          35)   }
Bernd Wurst Passwort-Reset-Funktion akt...

Bernd Wurst authored 7 years ago

modules/index/lost_password.php         36)   success_msg('Sofern die eingegebenen Daten korrekt waren, erhalten Sie umgehend eine E-Mail.');
bernd webinterface => /webinterface

bernd authored 17 years ago

modules/index/new_password.php          37) }
modules/index/new_password.php          38) 
Bernd Wurst Passwort-Reset-Funktion akt...

Bernd Wurst authored 7 years ago

modules/index/lost_password.php         39) output('<p>Wenn Sie Ihr Benutzer-Passwort nicht mehr kennen, können Sie hier ein neues Passwort beantragen. Sie müssen dafür Ihren Benutzernamen kennen. Kennen Sie diese Daten nicht, wenden Sie sich bitte <a href="mailto:'.config('adminmail').'">an die Administratoren</a>.</p>
modules/index/lost_password.php         40) <p>Nach dem Ausfüllen dieses Formulars erhalten Sie eine E-Mail an die bei uns hinterlegte E-Mail-Adresse. Diese Mail enthält einem Link, den Sie in Ihrem Browser öffnen müssen. Dort können Sie dann ein neues Passwort eingeben.</p>
Bernd Wurst Ermögliche Kunden sich eine...

Bernd Wurst authored 10 years ago

modules/index/lost_password.php         41) <p><span style="font-weight: bold;">Hinweis:</span> Sie können auf diesem Weg nur das Passwort des Hauptbenutzers neu anfordern. Sind Sie Mitbenutzer eines anderen Kunden, dann kann dieser Ihr Passwort neu setzen.</p>
bernd webinterface => /webinterface

bernd authored 17 years ago

modules/index/new_password.php          42) <form action="" method="post">
Bernd Wurst Ermögliche Kunden sich eine...

Bernd Wurst authored 10 years ago

modules/index/lost_password.php         43) <p><span class="login_label">Benutzername:</span> <input type="text" name="username" size="30" /></p>
bernd Entities repariert

bernd authored 16 years ago

modules/index/new_password.php          44) <p><span class="login_label">&#160;</span> <input type="submit" value="Passwort anfordern" /></p>