Compare commits

...
2 Commits
4 changed files with 7 additions and 15 deletions

No files matched your search

+4 -4
View File
@@ -48,7 +48,7 @@
"framer-motion": "^10.16.4",
"ip-cidr": "^3.1.0",
"lodash": "^4.17.21",
"lucide-react": "^0.287.0",
"lucide-react": "^0.383.0",
"next": "13.5.5",
"next-themes": "^0.2.1",
"punycode": "^2.3.1",
@@ -5351,9 +5351,9 @@
}
},
"node_modules/lucide-react": {
"version": "0.287.0",
"resolved": "https://registry.npmjs.org/lucide-react/-/lucide-react-0.287.0.tgz",
"integrity": "sha512-auxP2bTGiMoELzX+6ItTeNzLmhGd/O+PHBsrXV2YwPXYCxarIFJhiMOSzFT9a1GWeYPSZtnWdLr79IVXr/5JqQ==",
"version": "0.383.0",
"resolved": "https://registry.npmjs.org/lucide-react/-/lucide-react-0.383.0.tgz",
"integrity": "sha512-13xlG0CQCJtzjSQYwwJ3WRqMHtRj3EXmLlorrARt7y+IHnxUCp3XyFNL1DfaGySWxHObDvnu1u1dV+0VMKHUSg==",
"peerDependencies": {
"react": "^16.5.1 || ^17.0.0 || ^18.0.0"
}
@@ -99,6 +99,7 @@ export default function AuthenticationTab({ account }: Props) {
.put({
id: account.id,
settings: {
...account.settings,
peer_login_expiration_enabled: loginExpiration,
peer_login_expiration: loginExpiration ? expiration : 86400,
extra: {
+1 -3
View File
@@ -108,10 +108,8 @@ export default function GroupsTab({ account }: Props) {
.put({
id: account.id,
settings: {
...account.settings,
groups_propagation_enabled: groupsPropagation,
peer_login_expiration_enabled:
account.settings.peer_login_expiration_enabled,
peer_login_expiration: account.settings.peer_login_expiration,
jwt_groups_enabled: jwtGroupSync,
jwt_groups_claim_name: isEmpty(jwtGroupsClaimName)
? undefined
+1 -8
View File
@@ -33,15 +33,8 @@ export default function PermissionsTab({ account }: Props) {
.put({
id: account.id,
settings: {
...account.settings,
regular_users_view_blocked: userViewBlocked,
groups_propagation_enabled:
account.settings?.groups_propagation_enabled,
peer_login_expiration_enabled:
account.settings?.peer_login_expiration_enabled,
peer_login_expiration: account.settings?.peer_login_expiration,
jwt_groups_enabled: account.settings?.jwt_groups_enabled,
jwt_groups_claim_name: account.settings?.jwt_groups_claim_name,
jwt_allow_groups: account.settings?.jwt_allow_groups,
},
})
.then(() => {