diff --git a/starter/nuxt-auth/app.config.ts b/starter/nuxt-auth/app.config.ts index d966a88f1..1b7416f4a 100644 --- a/starter/nuxt-auth/app.config.ts +++ b/starter/nuxt-auth/app.config.ts @@ -17,6 +17,30 @@ export default defineAppConfig({ title: 'Forgot Password', }, }, + login: { + title: 'Login', + description: 'Enter your username and password to login.', + usernameProps: { + label: 'Username', + placeholder: 'Username', + }, + passwordProps: { + label: 'Password', + placeholder: 'Password', + }, + rememberMe: { + enable: true, + label: 'Remember Me', + }, + buttonText: 'Login', + buttonProps: { + color: 'primary', + block: true, + }, + forgotPasswordLinkText: 'Forgot Password?', + registerLinkText: 'Register', + registerText: "Don't have an account?", + }, forgotPassword: { title: 'Forgot Password', description: diff --git a/starter/nuxt-auth/components/auth/AuthForm.vue b/starter/nuxt-auth/components/auth/AuthLogin.vue similarity index 67% rename from starter/nuxt-auth/components/auth/AuthForm.vue rename to starter/nuxt-auth/components/auth/AuthLogin.vue index 0cb9a7d04..18a2c6c2b 100644 --- a/starter/nuxt-auth/components/auth/AuthForm.vue +++ b/starter/nuxt-auth/components/auth/AuthLogin.vue @@ -45,38 +45,48 @@ const onSubmit = handleSubmit(async (values) => {
diff --git a/starter/nuxt-auth/pages/auth/login.vue b/starter/nuxt-auth/pages/auth/login.vue index cc33e7ad1..aa7dc33fe 100644 --- a/starter/nuxt-auth/pages/auth/login.vue +++ b/starter/nuxt-auth/pages/auth/login.vue @@ -1,6 +1,6 @@