webinterface => /webinterface
bernd authored 17 years ago
|
modules/index/new_password.php 1) <?php
|
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)
|
Updated copyright notice (2...
Bernd Wurst authored 11 years ago
|
modules/index/new_customer_password.php 5) Written 2008-2013 by schokokeks.org Hosting, namely
|
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)
|
Benutze überall title() sta...
bernd authored 13 years ago
|
modules/index/new_customer_password.php 17) title("Neues Passwort beantragen");
|
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)
|
Ermögliche Kunden sich eine...
Bernd Wurst authored 10 years ago
|
modules/index/lost_password.php 22) if (isset($_POST['customerno']) && isset($_POST['username']))
|
webinterface => /webinterface
bernd authored 17 years ago
|
modules/index/new_password.php 23) {
modules/index/new_password.php 24) require_once('newpass.php');
|
Ermögliche Kunden sich eine...
Bernd Wurst authored 10 years ago
|
modules/index/lost_password.php 25) if (user_customer_match($_POST['customerno'], $_POST['username']))
|
webinterface => /webinterface
bernd authored 17 years ago
|
modules/index/new_password.php 26) {
|
Ermögliche Kunden sich eine...
Bernd Wurst authored 10 years ago
|
modules/index/lost_password.php 27) if (create_token($_POST['username']))
|
webinterface => /webinterface
bernd authored 17 years ago
|
modules/index/new_password.php 28) {
modules/index/new_password.php 29) require_once('mail.php');
|
Logging aktiviert
bernd authored 17 years ago
|
modules/index/new_password.php 30) require_once('inc/base.php');
|
Ermögliche Kunden sich eine...
Bernd Wurst authored 10 years ago
|
modules/index/lost_password.php 31) send_user_token($_POST['username']);
modules/index/lost_password.php 32) logger(LOG_INFO, "modules/index/lost_password", "pwrecovery", "token sent for customer »{$_POST['customerno']}/{$_POST['username']}«");
|
webinterface => /webinterface
bernd authored 17 years ago
|
modules/index/new_password.php 33) success_msg('Die angegebenen Daten waren korrekt, Sie sollten umgehend eine E-Mail erhalten.');
modules/index/new_password.php 34) }
modules/index/new_password.php 35) }
modules/index/new_password.php 36) else
modules/index/new_password.php 37) {
|
Ermögliche Kunden sich eine...
Bernd Wurst authored 10 years ago
|
modules/index/lost_password.php 38) input_error("Die eingegebenen Daten waren nicht korrekt. Sollten Sie die Daten nicht mehr kennen, wenden Sie sich bitte an einen Administrator.");
|
webinterface => /webinterface
bernd authored 17 years ago
|
modules/index/new_password.php 39) }
modules/index/new_password.php 40) }
modules/index/new_password.php 41)
|
Ermögliche Kunden sich eine...
Bernd Wurst authored 10 years ago
|
modules/index/lost_password.php 42) output('<p>Wenn Sie Ihr Kundenpasswort nicht mehr kennen, können Sie hier ein neues Passwort beantragen. Sie müssen dafür Ihre Kundennummer und 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 43) <p>Nach dem Ausfüllen dieses Formulars erhalten Sie eine E-Mail mn 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>
modules/index/lost_password.php 44) <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>
|
webinterface => /webinterface
bernd authored 17 years ago
|
modules/index/new_password.php 45) <form action="" method="post">
modules/index/new_password.php 46) <p><span class="login_label">Kundennummer:</span> <input type="text" name="customerno" size="30" /></p>
|
Ermögliche Kunden sich eine...
Bernd Wurst authored 10 years ago
|
modules/index/lost_password.php 47) <p><span class="login_label">Benutzername:</span> <input type="text" name="username" size="30" /></p>
|
Entities repariert
bernd authored 16 years ago
|
modules/index/new_password.php 48) <p><span class="login_label"> </span> <input type="submit" value="Passwort anfordern" /></p>
|