mirror of
https://github.com/PretendoNetwork/website.git
synced 2026-08-06 02:10:41 -05:00
add passwordrules with pattern and add birdate to locales
This commit is contained in:
parent
2ca4939a14
commit
3acc5a9c4c
25
.lando.yml
Normal file
25
.lando.yml
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
name: pretendo
|
||||
recipe: lamp
|
||||
config:
|
||||
php: '8.3'
|
||||
via: apache:2.4
|
||||
webroot: .
|
||||
database: mongo:8.0
|
||||
xdebug: false
|
||||
services:
|
||||
phpmyadmin:
|
||||
type: phpmyadmin
|
||||
hosts:
|
||||
- mongo8
|
||||
mongodb:
|
||||
type: mongo:8.0
|
||||
redis:
|
||||
type: redis
|
||||
portforward: true
|
||||
node:
|
||||
type: node
|
||||
build:
|
||||
- yarn install
|
||||
tooling:
|
||||
yarn:
|
||||
service: node
|
||||
20
docker-compose.yml
Normal file
20
docker-compose.yml
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
version: '3.8'
|
||||
services:
|
||||
app:
|
||||
build: .
|
||||
ports:
|
||||
- "3000:3000"
|
||||
environment:
|
||||
- MONGODB_URI=mongodb://mongo:27017/pretendo
|
||||
depends_on:
|
||||
- mongo
|
||||
|
||||
mongo:
|
||||
image: mongo:6
|
||||
ports:
|
||||
- "27017:27017"
|
||||
volumes:
|
||||
- mongo_data:/data/db
|
||||
|
||||
volumes:
|
||||
mongo_data:
|
||||
|
|
@ -330,6 +330,7 @@
|
|||
"confirmPassword": "Confirm password",
|
||||
"email": "Email",
|
||||
"miiName": "Mii name",
|
||||
"birthdate": "Birthdate",
|
||||
"forgotPassword": "Forgot your password?",
|
||||
"registerPrompt": "Don't have an account?",
|
||||
"loginPrompt": "Already have an account?"
|
||||
|
|
|
|||
|
|
@ -368,6 +368,7 @@
|
|||
"confirmPassword": "Confirmez le mot de passe",
|
||||
"email": "Email",
|
||||
"miiName": "Surnom du Mii",
|
||||
"birthdate": "Date de naissance",
|
||||
"forgotPassword": "Mot de passe oublié ?",
|
||||
"registerPrompt": "Pas encore inscrit ?"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -24,13 +24,13 @@
|
|||
<input name="mii_name" id="mii_name" value="{{ mii_name }}" maxlength=10 required>
|
||||
</div>
|
||||
<div>
|
||||
<label for="birthday">Birthday</label> {{! TODO - Add this to weblate, hard-coding for now to just push it out }}
|
||||
<label for="birthday">{{ locale.account.loginForm.birthdate }}</label>
|
||||
<input type="date" id="birthday" name="birthday">
|
||||
</div>
|
||||
<br>
|
||||
<div>
|
||||
<label for="password">{{ locale.account.loginForm.password }}</label>
|
||||
<input name="password" id="password" type="password" autocomplete="new-password" minlength="6" maxlength="16" required>
|
||||
<input name="password" id="password" type="password" autocomplete="new-password" minlength="6" maxlength="16" passwordrules="minlength: 6; maxlength: 16; max-consecutive: 2; required: lower; required: upper; required: digit; allowed: [!"$%&'()*+,./:;<=>?@[\^_`{|}~]];" pattern="[A-Za-z\d\!"\$\%\&\'\(\)\*\+\,\.\/\:\;\<\=\>\?\@\[\\\^\_\`\{\|\}\~\]]{6,16}" required>
|
||||
</div>
|
||||
<div>
|
||||
<label for="password_confirm">{{ locale.account.loginForm.confirmPassword }}</label>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user