1
0
mirror of https://gitlab.com/timvisee/send.git synced 2024-11-08 12:12:37 +01:00

Increased password length limit to support passphrases.

This commit is contained in:
Teal Dulcet 2023-02-14 04:36:19 -08:00
parent 65730db0db
commit dc9d072472
3 changed files with 3 additions and 3 deletions

View File

@ -152,7 +152,7 @@ AWS example using Ubuntu Server `20.04`: [docs/AWS.md](docs/AWS.md)
- Web: _this repository_
- Command-line: [`ffsend`](https://github.com/timvisee/ffsend)
- Android: _see [Android](#android) section_
- Thunderbird: [FileLink provider for Send](https://addons.thunderbird.net/en-US/thunderbird/addon/filelink-provider-for-send/)
- Thunderbird: [FileLink provider for Send](https://addons.thunderbird.net/thunderbird/addon/filelink-provider-for-send/)
#### Android

View File

@ -26,7 +26,7 @@ function expiryInfo(translate, archive) {
}
function password(state) {
const MAX_LENGTH = 32;
const MAX_LENGTH = 4096;
return html`
<div class="mb-2 px-1">

View File

@ -32,7 +32,7 @@ module.exports = function(state, emit) {
class="w-full border-l border-t border-b rounded-l-lg rounded-r-none ${invalid
? 'border-red dark:border-red-40'
: 'border-grey'} leading-loose px-2 py-1 dark:bg-grey-80"
maxlength="32"
maxlength="4096"
autocomplete="off"
placeholder="${state.translate('unlockInputPlaceholder')}"
oninput="${inputChanged}"