ldaü
This commit is contained in:
@@ -34,6 +34,8 @@ $form = [
|
||||
'family_name' => '',
|
||||
'email' => '',
|
||||
'note' => '',
|
||||
'password' => '',
|
||||
'password_confirm' => '',
|
||||
];
|
||||
|
||||
if ($_SERVER['REQUEST_METHOD'] === 'POST') {
|
||||
@@ -43,6 +45,8 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') {
|
||||
'family_name' => trim((string) ($_POST['family_name'] ?? '')),
|
||||
'email' => trim((string) ($_POST['email'] ?? '')),
|
||||
'note' => trim((string) ($_POST['note'] ?? '')),
|
||||
'password' => (string) ($_POST['password'] ?? ''),
|
||||
'password_confirm' => (string) ($_POST['password_confirm'] ?? ''),
|
||||
];
|
||||
|
||||
$postedToken = (string) ($_POST['csrf_token'] ?? '');
|
||||
@@ -65,6 +69,8 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') {
|
||||
'family_name' => '',
|
||||
'email' => '',
|
||||
'note' => '',
|
||||
'password' => '',
|
||||
'password_confirm' => '',
|
||||
];
|
||||
}
|
||||
}
|
||||
@@ -137,9 +143,21 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') {
|
||||
<textarea name="note" rows="5" placeholder="Optional: Bezug zur Familie, Einladung, gewünschte Nutzung, Rückfragekontakt"><?= htmlspecialchars($form['note'], ENT_QUOTES) ?></textarea>
|
||||
</label>
|
||||
|
||||
<div class="login-form-grid">
|
||||
<label class="login-field">
|
||||
<span>Passwort</span>
|
||||
<input type="password" name="password" value="" required>
|
||||
</label>
|
||||
|
||||
<label class="login-field">
|
||||
<span>Passwort wiederholen</span>
|
||||
<input type="password" name="password_confirm" value="" required>
|
||||
</label>
|
||||
</div>
|
||||
|
||||
<div class="login-notice login-notice-info">
|
||||
<strong>Wichtig</strong>
|
||||
<p>Das Passwort wird erst nach Freigabe gesetzt. Neue Registrierungen erhalten zunächst keinen aktiven Desktop-Zugang.</p>
|
||||
<p>Das Passwort wird verschlüsselt zwischengespeichert und bei Freigabe direkt für LDAP und SMB gesetzt. Neue Registrierungen erhalten zunächst trotzdem keinen aktiven Desktop-Zugang.</p>
|
||||
</div>
|
||||
|
||||
<div class="login-actions">
|
||||
|
||||
Reference in New Issue
Block a user