@social-mail/social-mail-web-server 1.7.552 → 1.7.554

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@social-mail/social-mail-web-server",
3
- "version": "1.7.552",
3
+ "version": "1.7.554",
4
4
  "description": "## Phase 1",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -22,7 +22,7 @@
22
22
  "@aws-sdk/client-s3": "^3.717.0",
23
23
  "@azure/storage-blob": "^12.25.0",
24
24
  "@entity-access/entity-access": "^1.0.434",
25
- "@entity-access/server-pages": "^1.1.443",
25
+ "@entity-access/server-pages": "^1.1.445",
26
26
  "@ffmpeg/core-mt": "^0.12.6",
27
27
  "@ffmpeg/ffmpeg": "^0.12.10",
28
28
  "@ffmpeg/util": "^0.12.1",
@@ -71,9 +71,12 @@ export default class LoginSessionEvents extends EntityEvents<LoginSession> {
71
71
  }
72
72
 
73
73
  async updateSessionForRealUser(entity: LoginSession) {
74
+
75
+ const lowerCaseUsername = entity.userName.toLowerCase();
76
+
74
77
  // check if password is valid or not..
75
78
  const user = await this.db.users
76
- .where({ userName: entity.userName }, (p) => (x) => x.userName === p.userName )
79
+ .where({ lowerCaseUsername }, (p) => (x) => x.userName === p.lowerCaseUsername)
77
80
  .first();
78
81
 
79
82
  if (!user) {
@@ -5,13 +5,13 @@ export default async function seedUI(config: DBConfig) {
5
5
  await config.saveVersion(UIPackageConfig, {
6
6
  package: "@social-mail/social-mail-client",
7
7
  view: "dist/web/AppIndex",
8
- version: "1.8.117"
8
+ version: "1.8.121"
9
9
  });
10
10
 
11
11
  await config.saveVersion(WebComponentsPackageConfig, {
12
12
  package: "@social-mail/web-components",
13
13
  view: "dist/index.js",
14
- version: "1.0.292"
14
+ version: "1.0.293"
15
15
  });
16
16
 
17
17
  await config.saveVersion(FAFreePackageConfig, {