Skip to content

Commit 3b3e3e3

Browse files
committed
feat: optional login message
1 parent 02afbe0 commit 3b3e3e3

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

resources/js/views/LoginView.vue

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,13 @@ import AuthHeader from '@/components/headers/AuthHeader.vue';
33
import LayoutAuth from '@/layouts/LayoutAuth.vue';
44
import LoginForm from '@/components/forms/LoginForm.vue';
55
import AuthCard from '@/components/cards/AuthCard.vue';
6+
7+
const loginMessage = import.meta.env.VITE_LOGIN_MESSAGE;
68
</script>
79

810
<template>
911
<LayoutAuth>
10-
<AuthHeader>Enter your email and password below to log in</AuthHeader>
12+
<AuthHeader class="whitespace-pre-wrap">{{ loginMessage ?? 'Enter your email and password below to log in' }}</AuthHeader>
1113
<AuthCard>
1214
<LoginForm />
1315
</AuthCard>

0 commit comments

Comments
 (0)