Skip to content

Commit

Permalink
4.3.2 release (#929)
Browse files Browse the repository at this point in the history
* Upgraded version to 4.3.2
* Prevent null userid/username registration
  • Loading branch information
Tzahi12345 authored May 26, 2023
1 parent 2c61260 commit 6eadb37
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions backend/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -1945,6 +1945,10 @@ app.post('/api/auth/register', optionalJwt, async (req, res) => {
res.sendStatus(409);
return;
}

if (!userid || !username) {
logger.error(`Registration failed for user ${userid}. Username or userid is invalid.`);
}

const new_user = await auth_api.registerUser(userid, username, plaintextPassword);

Expand Down
2 changes: 1 addition & 1 deletion chart/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ version: 0.1.0
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion: "4.3.1"
appVersion: "4.3.2"
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "youtube-dl-material",
"version": "4.3.1",
"version": "4.3.2",
"license": "MIT",
"scripts": {
"ng": "ng",
Expand Down
2 changes: 1 addition & 1 deletion src/app/consts.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const CURRENT_VERSION = 'v4.3.1';
export const CURRENT_VERSION = 'v4.3.2';

0 comments on commit 6eadb37

Please sign in to comment.