first commit

This commit is contained in:
2018-08-01 16:00:05 +02:00
commit 944fd76206
3205 changed files with 356767 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
---
title: Forgot password
login_redirect_here: false
form:
fields:
- name: email
type: email
label: PLUGIN_LOGIN.EMAIL
autofocus: true
validate:
required: true
type: email
---
# Recover your password
Enter your email to recover your password
+42
View File
@@ -0,0 +1,42 @@
---
title: Login
login_redirect_here: false
forms:
login:
action:
method: post
fields:
username:
type: text
id: username
placeholder: Username
label: PLUGIN_LOGIN.USERNAME_EMAIL
autofocus: true
password:
type: password
id: password
placeholder: Password
label: PLUGIN_LOGIN.PASSWORD
login-twofa:
action:
method: post
fields:
2fa_instructions:
type: display
markdown: true
content: PLUGIN_LOGIN.2FA_INSTRUCTIONS
2fa_code:
type: text
id: twofa-code
autofocus: true
placeholder: PLUGIN_LOGIN.2FA_CODE_INPUT
---
# User Login
+50
View File
@@ -0,0 +1,50 @@
---
title: Profile
access:
site.login: true
form:
fields:
avatar_img:
type: avatar
username:
type: text
readonly: true
disabled: true
email:
type: email
placeholder: "Enter your email"
validate:
required: true
message: PLUGIN_LOGIN.EMAIL_VALIDATION_MESSAGE
fullname:
type: text
title:
type: text
password:
type: password
label: Enter new password
validate:
message: PLUGIN_LOGIN.PASSWORD_VALIDATION_MESSAGE
config-pattern@: system.pwd_regex
buttons:
-
type: submit
value: Submit
-
type: reset
value: Reset
process:
update_user: true
message: "Your profile has been updated"
---
# Profile
+58
View File
@@ -0,0 +1,58 @@
---
login_redirect_here: false
form:
fields:
fullname:
type: text
validate:
required: true
username:
type: text
validate:
required: true
message: PLUGIN_LOGIN.USERNAME_NOT_VALID
config-pattern@: system.username_regex
email:
type: email
validate:
required: true
message: PLUGIN_LOGIN.EMAIL_VALIDATION_MESSAGE
password1:
type: password
label: Enter a password
validate:
required: true
message: PLUGIN_LOGIN.PASSWORD_VALIDATION_MESSAGE
config-pattern@: system.pwd_regex
password2:
type: password
label: Enter the password again
validate:
required: true
message: PLUGIN_LOGIN.PASSWORD_VALIDATION_MESSAGE
config-pattern@: system.pwd_regex
buttons:
-
type: submit
value: Submit
-
type: reset
value: Reset
process:
register_user: true
message: "Thanks for registering..."
reset: true
---
# Register
Create a new user account by entering all the required fields below:
+35
View File
@@ -0,0 +1,35 @@
---
title: Reset password
login_redirect_here: false
form:
fields:
- name: username
type: hidden
id: username
placeholder: Username
readonly: true
- name: password
type: password
id: password
placeholder: Password
autofocus: true
validate:
required: true
message: PLUGIN_LOGIN.PASSWORD_VALIDATION_MESSAGE
config-pattern@: system.pwd_regex
- name: token
type: hidden
process:
twig: true
---
# Password Reset
### Username: {{uri.param('user')}}
+5
View File
@@ -0,0 +1,5 @@
---
title: Unauthorized
---
# You don't have access to this page...