mirror of
https://github.com/nextcloud/server.git
synced 2026-04-22 14:50:17 -04:00
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:
parent
18759c7e6a
commit
2a631f4676
1 changed files with 2 additions and 2 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Reference in a new issue