Behebe Player, Download-Namen und ergänze Profil, Fußzeile und Lizenzhinweis
- app.js: Der Anfangsscan übergab das Dokument, das kein Element ist; HLS-Filme im Quelltext wurden nie angebunden. Vollbild findet sein Video auch neben dem Player. - Download und Ansicht heißen nach dem Anzeigetitel statt „laden.mp4“. - Mitgliederprofil: Name, E-Mail mit Bestätigung der neuen Adresse, Passwort, Rechnungsadresse (ADR-46). - Kleine Fußzeile mit Rechtlichem aus der CMS-Navigation. - Lizenzdetail nennt, dass Einzel-/Mehrfachlizenz nicht festgelegt ist (Funktion gibt es noch nicht). Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
433f9aee61
commit
e7efb073da
20 files changed
+879
-49
No files matched your search
@@ -0,0 +1,36 @@
|
||||
<?php
|
||||
|
||||
namespace App\Notifications;
|
||||
|
||||
use App\Http\SignedLink;
|
||||
use Illuminate\Notifications\Messages\MailMessage;
|
||||
use Illuminate\Notifications\Notification;
|
||||
use Illuminate\Support\Carbon;
|
||||
|
||||
/**
|
||||
* Bestätigungslink an die NEUE Adresse. Erst der Klick darauf tauscht die Adresse des Kontos aus.
|
||||
*/
|
||||
class ConfirmNewEmailAddress extends Notification
|
||||
{
|
||||
public function __construct(private readonly int $userId, private readonly string $newEmail) {}
|
||||
|
||||
/** @return list<string> */
|
||||
public function via(mixed $notifiable): array
|
||||
{
|
||||
return ['mail'];
|
||||
}
|
||||
|
||||
public function toMail(mixed $notifiable): MailMessage
|
||||
{
|
||||
$url = SignedLink::temporary('member.profile.email.confirm', Carbon::now()->addMinutes(60), [
|
||||
'id' => $this->userId,
|
||||
'hash' => sha1($this->newEmail),
|
||||
]);
|
||||
|
||||
return (new MailMessage)
|
||||
->subject('Neue E-Mail-Adresse bestätigen')
|
||||
->line('Du hast gebeten, die E-Mail-Adresse deines Kontos bei Lara & Felix zu ändern. Bestätige mit dem Knopf, dass diese Adresse dir gehört.')
|
||||
->action('Adresse bestätigen', $url)
|
||||
->line('Der Link gilt 60 Minuten. Wenn du das nicht angefordert hast, ignoriere diese Nachricht; es ändert sich nichts.');
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user