Compare commits

...

2 Commits

Author SHA1 Message Date
Tzahi12345
c7b017498f Prevent null userid/username registration 2023-05-25 22:01:24 -04:00
Tzahi12345
eb6584a4d6 Upgraded version to 4.3.2 2023-05-25 21:57:26 -04:00
4 changed files with 7 additions and 3 deletions

View File

@@ -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);

View File

@@ -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"

View File

@@ -1,6 +1,6 @@
{
"name": "youtube-dl-material",
"version": "4.3.1",
"version": "4.3.2",
"license": "MIT",
"scripts": {
"ng": "ng",

View File

@@ -1 +1 @@
export const CURRENT_VERSION = 'v4.3.1';
export const CURRENT_VERSION = 'v4.3.2';