AccountForger-Video serverseitig geschützt
Clientseitigen sessionStorage-Check durch Nginx auth_request ersetzt. Video-Seite und MP4-Datei werden nur noch mit gültigem Cookie ausgeliefert. Token-Validierung läuft über das Security Dashboard (FastAPI + bcrypt). Zugangscode wird über Security Dashboard Einstellungen verwaltet. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Dieser Commit ist enthalten in:
@@ -574,9 +574,9 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
// Check authentication
|
// Zugangsschutz wird serverseitig von Nginx (auth_request) geprueft.
|
||||||
if (!sessionStorage.getItem('accountForgerAuth')) {
|
// Wenn diese Seite laedt, wurde der Zugang bereits verifiziert.
|
||||||
window.location.href = 'index.html';
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Video player functionality
|
// Video player functionality
|
||||||
|
|||||||
@@ -395,7 +395,7 @@ const LoginModal = {
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
// Validate token via Insights API
|
// Validate token via Insights API
|
||||||
const response = await fetch('/insights/api/validate-token.php', {
|
const response = await fetch('/insights/api/validate-token', {
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
headers: {
|
headers: {
|
||||||
'Content-Type': 'application/json'
|
'Content-Type': 'application/json'
|
||||||
|
|||||||
In neuem Issue referenzieren
Einen Benutzer sperren