Data

NameTypeDefault valueDescription
usernamestring|nullnullThe username for login or registration.
emailstring|nullnullThe email address for login or registration.
passwordstring|nullnullThe password for login or registration.
passwordRepetitionstring|nullnullThe repeated password for registration.
tabIndexnumber0The index of the currently active tab (0 for login, 1 for registration).
loadingbooleanfalseWhether a login or registration request is in progress.

Computed

NameTypeDescription
failMessagesArray.<string>An array of random failure messages to show on error.
usernameIsValidbooleanWhether the username is valid (at least 6 characters).
usernameErrorstring|nullError message for invalid username.
emailIsValidbooleanWhether the email is valid (matches email regex).
emailErrorstring|nullError message for invalid email.
passwordIsValidbooleanWhether the password is valid (at least 6 characters).
passwordErrorstring|nullError message for invalid password.
passwordRepetitionIsValidbooleanWhether the password repetition matches the password.
passwordRepetitionErrorstring|nullError message for mismatched password repetition.
isWelcomebooleanWhether the current route is the welcome page.
metaInfoMetaInfo-