range domain from email to example

This commit is contained in:
Hayden 2022-10-12 16:27:48 -08:00
parent 9e830610a2
commit 85a96cde91
3 changed files with 5 additions and 5 deletions

View file

@ -21,7 +21,7 @@ func (a *app) SetupDemo() {
var ( var (
registration = services.UserRegistration{ registration = services.UserRegistration{
Email: "demo@email.com", Email: "demo@example.com",
Name: "Demo", Name: "Demo",
Password: "demo", Password: "demo",
} }

View file

@ -33,7 +33,7 @@ func (f *Faker) Path() string {
} }
func (f *Faker) Email() string { func (f *Faker) Email() string {
return f.Str(10) + "@email.com" return f.Str(10) + "@example.com"
} }
func (f *Faker) Bool() bool { func (f *Faker) Bool() bool {

View file

@ -16,7 +16,7 @@
if (data) { if (data) {
console.log(data); console.log(data);
username.value = "demo@email.com"; username.value = "demo@example.com";
password.value = "demo"; password.value = "demo";
} }
return data; return data;
@ -24,7 +24,7 @@
whenever(status, status => { whenever(status, status => {
if (status?.demo) { if (status?.demo) {
email.value = "demo@email.com"; email.value = "demo@example.com";
loginPassword.value = "demo"; loginPassword.value = "demo";
} }
}); });
@ -198,7 +198,7 @@
</h2> </h2>
<template v-if="status && status.demo"> <template v-if="status && status.demo">
<p class="text-xs italic text-center">This is a demo instance</p> <p class="text-xs italic text-center">This is a demo instance</p>
<p class="text-xs text-center"><b>Email</b> demo@email.com</p> <p class="text-xs text-center"><b>Email</b> demo@example.com</p>
<p class="text-xs text-center"><b>Password</b> demo</p> <p class="text-xs text-center"><b>Password</b> demo</p>
</template> </template>
<FormTextField v-model="email" label="Email" /> <FormTextField v-model="email" label="Email" />