mirror of https://github.com/Lissy93/dashy.git
🔀 Merge pull request #237 from Lissy93/FEATURE/login-remember-me-always
[FEATURE] Adds option to Remember Me for a long time
This commit is contained in:
commit
46c413a898
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "Dashy",
|
"name": "Dashy",
|
||||||
"version": "1.9.2",
|
"version": "1.9.3",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"main": "server",
|
"main": "server",
|
||||||
"author": "Alicia Sykes <alicia@omg.lol> (https://aliciasykes.com)",
|
"author": "Alicia Sykes <alicia@omg.lol> (https://aliciasykes.com)",
|
||||||
|
|
|
@ -19,6 +19,7 @@
|
||||||
"remember-me-hour": "4 Hours",
|
"remember-me-hour": "4 Hours",
|
||||||
"remember-me-day": "1 Day",
|
"remember-me-day": "1 Day",
|
||||||
"remember-me-week": "1 Week",
|
"remember-me-week": "1 Week",
|
||||||
|
"remember-me-long-time": "A long time",
|
||||||
"error-missing-username": "Missing Username",
|
"error-missing-username": "Missing Username",
|
||||||
"error-missing-password": "Missing Password",
|
"error-missing-password": "Missing Password",
|
||||||
"error-incorrect-username": "User not found",
|
"error-incorrect-username": "User not found",
|
||||||
|
|
|
@ -19,6 +19,7 @@
|
||||||
"remember-me-hour": "4 Heures",
|
"remember-me-hour": "4 Heures",
|
||||||
"remember-me-day": "1 Jour",
|
"remember-me-day": "1 Jour",
|
||||||
"remember-me-week": "1 Semaine",
|
"remember-me-week": "1 Semaine",
|
||||||
|
"remember-me-long-time": "Un long moment",
|
||||||
"error-missing-username": "Nom d'utilisateur manquant",
|
"error-missing-username": "Nom d'utilisateur manquant",
|
||||||
"error-missing-password": "Mot de passe manquant",
|
"error-missing-password": "Mot de passe manquant",
|
||||||
"error-incorrect-username": "Utilisateur inexistant",
|
"error-incorrect-username": "Utilisateur inexistant",
|
||||||
|
|
|
@ -111,6 +111,7 @@ export default {
|
||||||
{ label: this.$t('login.remember-me-hour'), time: 14400 * 1000 },
|
{ label: this.$t('login.remember-me-hour'), time: 14400 * 1000 },
|
||||||
{ label: this.$t('login.remember-me-day'), time: 86400 * 1000 },
|
{ label: this.$t('login.remember-me-day'), time: 86400 * 1000 },
|
||||||
{ label: this.$t('login.remember-me-week'), time: 604800 * 1000 },
|
{ label: this.$t('login.remember-me-week'), time: 604800 * 1000 },
|
||||||
|
{ label: this.$t('login.remember-me-long-time'), time: 604800 * 52 * 1000 },
|
||||||
];
|
];
|
||||||
},
|
},
|
||||||
/* Translations for login response messages */
|
/* Translations for login response messages */
|
||||||
|
|
Loading…
Reference in New Issue