Added a demo mode to show or hide instance warnings that data is deleted
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
@@ -24,7 +24,7 @@
|
||||
{{ $t('No user account with this email was found. Maybe you made a typo?') }}
|
||||
</span>
|
||||
<!-- Warning that we delete everything every now and then -->
|
||||
<span v-if="error === LoginError.USER_DOES_NOT_EXIST">
|
||||
<span v-if="error === LoginError.USER_DOES_NOT_EXIST && config.demoMode">
|
||||
{{ $t('User accounts and every other data is currently deleted every 48 hours, so you may want to register again.') }}
|
||||
</span>
|
||||
</b-message>
|
||||
@@ -203,4 +203,4 @@ export default class Login extends Vue {
|
||||
.container .columns {
|
||||
margin: 1rem auto 3rem;
|
||||
}
|
||||
</style>
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user