Compare commits
2 commits
main
...
alex/userP
Author | SHA1 | Date | |
---|---|---|---|
|
2b59b92b05 | ||
|
e27cc0c64c |
2 changed files with 3 additions and 1 deletions
|
@ -5,6 +5,8 @@ All notable changes to the "vscode-appwrite" extension will be documented in thi
|
||||||
Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how to structure this file.
|
Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how to structure this file.
|
||||||
|
|
||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
|
### Fixed
|
||||||
|
- Fixed a bug where the password validation for creating a new user did not follow the Appwrite spec. [Issue](https://github.com/streamlux/vscode-appwrite/issues/11)
|
||||||
|
|
||||||
## [0.0.6] - 2021-4-30
|
## [0.0.6] - 2021-4-30
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
|
@ -19,7 +19,7 @@ export async function createUser(): Promise<void> {
|
||||||
password: true,
|
password: true,
|
||||||
prompt: "Enter user password",
|
prompt: "Enter user password",
|
||||||
validateInput: (value) => {
|
validateInput: (value) => {
|
||||||
if (value.length <= 6) {
|
if (value.length < 6) {
|
||||||
return "Password must be at least 6 characters long.";
|
return "Password must be at least 6 characters long.";
|
||||||
}
|
}
|
||||||
if (value.length > 32) {
|
if (value.length > 32) {
|
||||||
|
|
Loading…
Reference in a new issue