Skip to content

Commit cb08db2

Browse files
fixup! fix: Show error message when CSRF check fails at login
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
1 parent 3f5827a commit cb08db2

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

core/src/components/login/LoginForm.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@
3333
{{ t('core', 'Please contact your administrator.') }}
3434
</NcNoteCard>
3535
<NcNoteCard v-if="csrfCheckFailed"
36-
:title="t('core', 'CSRF check failed')"
37-
type="warning">
38-
{{ t('core', 'Temporary error. Please try again.') }}
36+
:heading="t('core', 'Temporary error')"
37+
type="error">
38+
{{ t('core', 'Please try again.') }}
3939
</NcNoteCard>
4040
<NcNoteCard v-if="messages.length > 0">
4141
<div v-for="(message, index) in messages"

0 commit comments

Comments
 (0)