fix(login): Improve CSRF error message for better user understanding

This commit changes the CSRF error message displayed in the login form to
provide more specific information to the user. Instead of the generic less helpful error.

Signed-off-by: nfebe <fenn25.fn@gmail.com>
This commit is contained in:
nfebe 2025-03-25 14:25:56 +01:00 committed by backportbot[bot]
parent 18759c7e6a
commit 2a631f4676

View file

@ -17,9 +17,9 @@
{{ t('core', 'Please contact your administrator.') }}
</NcNoteCard>
<NcNoteCard v-if="csrfCheckFailed"
:heading="t('core', 'Temporary error')"
:heading="t('core', 'Session error')"
type="error">
{{ t('core', 'Please try again.') }}
{{ t('core', 'It appears your session token has expired, please refresh the page and try again.') }}
</NcNoteCard>
<NcNoteCard v-if="messages.length > 0">
<div v-for="(message, index) in messages"