Persist login across app restarts (localStorage instead of sessionStorage)
sessionStorage wird geleert, sobald die (installierte) PWA am Handy geschlossen wird - deshalb war nach jedem Neustart ein erneuter Login nötig. Sowohl MSAL-Cache als auch das lokale Login-Token liegen jetzt in localStorage, MSAL erneuert den Token beim Start still im Hintergrund (acquireTokenSilent), das lokale Token ist 30 Tage gültig. Temporärer test-build-only.yml Workflow zur Verifikation ohne Registry-Push. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 5
parent
1537a3d08c
commit
cda971be5d
@@ -0,0 +1,12 @@
|
||||
name: Test Build Only (temporary, no push)
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: linux
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Docker build (no push)
|
||||
run: docker build -t materialschein-test:local .
|
||||
Reference in New Issue
Block a user