mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
Add reset password page
This commit is contained in:
parent
64c5245f5a
commit
f9d25828d5
@ -8,11 +8,15 @@
|
|||||||
"logout": "Ausloggen",
|
"logout": "Ausloggen",
|
||||||
"email": "Deine E-Mail",
|
"email": "Deine E-Mail",
|
||||||
"password": "Dein Passwort",
|
"password": "Dein Passwort",
|
||||||
|
"forgotPassword": "Passwort vergessen?",
|
||||||
"moreInfo": "Was ist Human Connection?",
|
"moreInfo": "Was ist Human Connection?",
|
||||||
"moreInfoURL": "https://human-connection.org",
|
"moreInfoURL": "https://human-connection.org",
|
||||||
"moreInfoHint": "zur Präsentationsseite",
|
"moreInfoHint": "zur Präsentationsseite",
|
||||||
"hello": "Hallo"
|
"hello": "Hallo"
|
||||||
},
|
},
|
||||||
|
"password-reset": {
|
||||||
|
"title": "Passwort zurücksetzen"
|
||||||
|
},
|
||||||
"editor": {
|
"editor": {
|
||||||
"placeholder": "Schreib etwas Inspirierendes..."
|
"placeholder": "Schreib etwas Inspirierendes..."
|
||||||
},
|
},
|
||||||
|
|||||||
@ -8,11 +8,15 @@
|
|||||||
"logout": "Logout",
|
"logout": "Logout",
|
||||||
"email": "Your Email",
|
"email": "Your Email",
|
||||||
"password": "Your Password",
|
"password": "Your Password",
|
||||||
|
"forgotPassword": "Forgot Password?",
|
||||||
"moreInfo": "What is Human Connection?",
|
"moreInfo": "What is Human Connection?",
|
||||||
"moreInfoURL": "https://human-connection.org/en/",
|
"moreInfoURL": "https://human-connection.org/en/",
|
||||||
"moreInfoHint": "to the presentation page",
|
"moreInfoHint": "to the presentation page",
|
||||||
"hello": "Hello"
|
"hello": "Hello"
|
||||||
},
|
},
|
||||||
|
"password-reset": {
|
||||||
|
"title": "Reset your password"
|
||||||
|
},
|
||||||
"editor": {
|
"editor": {
|
||||||
"placeholder": "Leave your inspirational thoughts..."
|
"placeholder": "Leave your inspirational thoughts..."
|
||||||
},
|
},
|
||||||
|
|||||||
@ -25,7 +25,16 @@ module.exports = {
|
|||||||
|
|
||||||
env: {
|
env: {
|
||||||
// pages which do NOT require a login
|
// pages which do NOT require a login
|
||||||
publicPages: ['login', 'logout', 'register', 'signup', 'reset', 'reset-token', 'pages-slug'],
|
publicPages: [
|
||||||
|
'login',
|
||||||
|
'logout',
|
||||||
|
'password-reset',
|
||||||
|
'register',
|
||||||
|
'signup',
|
||||||
|
'reset',
|
||||||
|
'reset-token',
|
||||||
|
'pages-slug',
|
||||||
|
],
|
||||||
// pages to keep alive
|
// pages to keep alive
|
||||||
keepAlivePages: ['index'],
|
keepAlivePages: ['index'],
|
||||||
// active locales
|
// active locales
|
||||||
|
|||||||
@ -45,6 +45,11 @@
|
|||||||
name="password"
|
name="password"
|
||||||
type="password"
|
type="password"
|
||||||
/>
|
/>
|
||||||
|
<ds-space class="password-reset-link" margin-bottom="large">
|
||||||
|
<nuxt-link to="/password-reset">
|
||||||
|
{{ $t('login.forgotPassword') }}
|
||||||
|
</nuxt-link>
|
||||||
|
</ds-space>
|
||||||
<ds-button
|
<ds-button
|
||||||
:loading="pending"
|
:loading="pending"
|
||||||
primary
|
primary
|
||||||
|
|||||||
19
webapp/pages/password-reset.vue
Normal file
19
webapp/pages/password-reset.vue
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
<template>
|
||||||
|
<ds-container width="small">
|
||||||
|
<ds-flex>
|
||||||
|
<ds-flex-item :width="{ base: '100%' }" centered>
|
||||||
|
<ds-space style="text-align: center;" margin-top="small" margin-bottom="xxx-small" centered>
|
||||||
|
<ds-heading tag="h3">
|
||||||
|
{{ $t('password-reset.title') }}
|
||||||
|
</ds-heading>
|
||||||
|
</ds-space>
|
||||||
|
</ds-flex-item>
|
||||||
|
</ds-flex>
|
||||||
|
</ds-container>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
export default {
|
||||||
|
layout: 'default',
|
||||||
|
}
|
||||||
|
</script>
|
||||||
Loading…
x
Reference in New Issue
Block a user