Skip to content

Commit

Permalink
i18n: set a default old password error message
Browse files Browse the repository at this point in the history
  • Loading branch information
ayZagen committed May 7, 2024
1 parent 7e6329f commit ff42ba7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 11 deletions.
10 changes: 0 additions & 10 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -64,16 +64,6 @@
<a href="/signin/challenge/webauthn"> WebAuthN </a>
</div>
<div id="pa__app">
<template id="pa-content-footer">
<style>
.my-class {
background: red;
}
</style>
<div class="my-class"> test ssss</div>
<h1> TEst 22e2323 </h1>
<a href="/signin">Signin</a>
</template>
</div>
<script src="/dev.ts" type="module"></script>
</body>
Expand Down
3 changes: 2 additions & 1 deletion src/i18n/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,8 @@ export default {
user_not_found: 'User not found',
weak_password: 'Password is too weak',
too_many_requests: 'You have ben trying too fast. Try again in {retry}.',
account_blocked: 'Your account is blocked. Please check your email for further instructions.',
account_blocked: 'Your account is blocked. Please check your email for further instructions or contact an administrator.',
old_password: 'It looks like you\'re trying to use a password you\'ve used before. For your security, please choose a new password that hasn\'t been used in the past.'
},
fillMissing: {
title: 'Fill missing information',
Expand Down

0 comments on commit ff42ba7

Please sign in to comment.