fix: align password validation with backend ASCII policy (WealthLedger/backend#60) (#89)
Frontend verify / commits (push) Skipped
Frontend verify / commits (pull_request) Failing after 40s
Frontend verify / security (pull_request) Skipped
Frontend verify / verify (pull_request) Skipped
Frontend verify / security (push) Successful in 11s
Frontend verify / verify (push) Failing after 7m35s

This commit was merged in pull request #89.
This commit is contained in:
2026-10-16 10:00:54 +03:00
parent 6f1226b668
commit ebe92684a7
6 changed files with 169 additions and 24 deletions
+16 -4
View File
@@ -746,10 +746,13 @@ export interface components {
detail: string;
}[];
};
CredentialsDto: {
RegisterDto: {
/** @example user@example.com */
email: string;
/** @example a secure password */
/**
* @description Raw password: 8-72 printable ASCII characters (letters, digits, symbols, space). Not trimmed or normalized.
* @example a secure password
*/
password: string;
};
UserDto: {
@@ -760,6 +763,15 @@ export interface components {
accessToken: string;
user: components["schemas"]["UserDto"];
};
LoginDto: {
/** @example user@example.com */
email: string;
/**
* @description Raw password, at most 72 UTF-8 bytes. Not trimmed or normalized.
* @example a secure password
*/
password: string;
};
MoneyDto: {
currency: string;
value: string;
@@ -1708,7 +1720,7 @@ export interface operations {
};
requestBody: {
content: {
"application/json": components["schemas"]["CredentialsDto"];
"application/json": components["schemas"]["RegisterDto"];
};
};
responses: {
@@ -1776,7 +1788,7 @@ export interface operations {
};
requestBody: {
content: {
"application/json": components["schemas"]["CredentialsDto"];
"application/json": components["schemas"]["LoginDto"];
};
};
responses: {