Add working sign-in / sign-out, add working registration with token

This commit is contained in:
Meier Lukas
2023-07-29 10:05:05 +02:00
parent 326395730e
commit d8562e2990
19 changed files with 506 additions and 147 deletions

View File

@@ -0,0 +1,20 @@
{
"title": "Create Account",
"text": "Please define your credentials below",
"form": {
"fields": {
"username": {
"label": "Username"
},
"password": {
"label": "Password"
},
"passwordConfirmation": {
"label": "Confirm password"
}
},
"buttons": {
"submit": "Register"
}
}
}

View File

@@ -35,5 +35,9 @@
"small": "small",
"medium": "medium",
"large": "large"
},
"header": {
"logout": "Logout",
"sign-in": "Sign in"
}
}

View File

@@ -0,0 +1,22 @@
{
"errors": {
"default": "This field is invalid",
"required": "This field is required",
"string": {
"startsWith": "This field must start with {{startsWith}}",
"endsWith": "This field must end with {{endsWith}}",
"includes": "This field must include {{includes}}"
},
"too_small": {
"string": "This field must be at least {{minimum}} characters long",
"number": "This field must be greater than or equal to {{minimum}}"
},
"too_big": {
"string": "This field must be at most {{minimum}} characters long",
"number": "This field must be less than or equal to {{minimum}}"
},
"custom": {
"password_match": "Passwords must match"
}
}
}