@tachybase/plugin-auth-cas 1.6.1 → 1.6.4

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/README.md CHANGED
@@ -7,6 +7,5 @@
7
7
  > 首先你要开启此插件
8
8
 
9
9
  1. 在 Authentication 中添加一个 Auth Type 为 CAS 类型的登录方式
10
- <img src="https://github.com/tachybase/tachybase/assets/29533304/a9dd6965-afce-4ff3-85d8-ff0c1baa7298">
11
10
  2. 然后你将在登录页看到一个名为 CAS Login 的按钮
12
11
  3. 完成
package/README.zh-CN.md CHANGED
@@ -7,6 +7,5 @@
7
7
  > 首先你要开启此插件
8
8
 
9
9
  1. 在 Authentication 中添加一个 Auth Type 为 CAS 类型的登录方式
10
- <img src="https://github.com/tachybase/tachybase/assets/29533304/a9dd6965-afce-4ff3-85d8-ff0c1baa7298">
11
10
  2. 然后你将在登录页看到一个名为 CAS Login 的按钮
12
11
  3. 完成
@@ -1,12 +1,12 @@
1
1
  module.exports = {
2
2
  "react": "18.3.1",
3
- "@tachybase/client": "1.6.1",
3
+ "@tachybase/client": "1.6.4",
4
4
  "antd": "5.22.5",
5
- "@tachybase/module-auth": "1.6.1",
5
+ "@tachybase/module-auth": "1.6.4",
6
6
  "@ant-design/icons": "6.1.0",
7
- "@tego/client": "1.6.0-alpha.9",
7
+ "@tego/client": "1.6.2",
8
8
  "react-router-dom": "6.28.1",
9
- "@tego/server": "1.6.0-alpha.9",
9
+ "@tego/server": "1.6.2",
10
10
  "axios": "1.13.0",
11
11
  "react-i18next": "16.2.1"
12
12
  };
@@ -37,7 +37,8 @@ class CASAuth extends import_server.BaseAuth {
37
37
  const { ctx } = config;
38
38
  super({
39
39
  ...config,
40
- userCollection: ctx.db.getCollection("users")
40
+ userCollection: ctx.db.getCollection("users"),
41
+ userStatusCollection: ctx.db.getCollection("userStatuses")
41
42
  });
42
43
  }
43
44
  getOptions() {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tachybase/plugin-auth-cas",
3
3
  "displayName": "Auth: CAS",
4
- "version": "1.6.1",
4
+ "version": "1.6.4",
5
5
  "description": "CAS authentication.",
6
6
  "keywords": [
7
7
  "Authentication"
@@ -11,15 +11,15 @@
11
11
  "dependencies": {},
12
12
  "devDependencies": {
13
13
  "@ant-design/icons": "^6.1.0",
14
- "@tachybase/test": "1.6.0-alpha.9",
15
- "@tego/client": "1.6.0-alpha.9",
16
- "@tego/server": "1.6.0-alpha.9",
14
+ "@tachybase/test": "1.6.2",
15
+ "@tego/client": "1.6.2",
16
+ "@tego/server": "1.6.2",
17
17
  "antd": "5.22.5",
18
18
  "axios": "1.13.0",
19
19
  "react-i18next": "16.2.1",
20
20
  "react-router-dom": "6.28.1",
21
- "@tachybase/module-auth": "1.6.1",
22
- "@tachybase/client": "1.6.1"
21
+ "@tachybase/client": "1.6.4",
22
+ "@tachybase/module-auth": "1.6.4"
23
23
  },
24
24
  "description.zh-CN": "通过 CAS 协议认证身份。",
25
25
  "displayName.zh-CN": "认证:CAS",
@@ -9,6 +9,7 @@ export class CASAuth extends BaseAuth {
9
9
  super({
10
10
  ...config,
11
11
  userCollection: ctx.db.getCollection('users'),
12
+ userStatusCollection: ctx.db.getCollection('userStatuses'),
12
13
  });
13
14
  }
14
15