Skip to content

Commit

Permalink
nixos/matrix-synapse: remove expire_access_token
Browse files Browse the repository at this point in the history
It is non-functional after matrix-org/synapse#5782
  • Loading branch information
sumnerevans committed May 27, 2021
1 parent b089afa commit ced3d97
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions nixos/modules/services/misc/matrix-synapse.nix
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@ let
# API Configuration
inherit (cfg) macaroon_secret_key app_service_config_files room_prejoin_state;
inherit (cfg) room_invite_state_types; # deprecated by https://github.com/matrix-org/synapse/pull/9700
inherit (cfg) expire_access_token; # deprecated by https://github.com/matrix-org/synapse/pull/5782

# Signing Keys
inherit (cfg) key_refresh_interval;
Expand Down Expand Up @@ -608,14 +607,6 @@ in
Secret key for authentication tokens
'';
};
expire_access_token = mkOption {
type = types.bool;
default = false;
description = ''
DEPRECATED.
Whether to enable access token expiration.
'';
};
key_refresh_interval = mkOption {
type = types.str;
default = "1d";
Expand Down Expand Up @@ -770,6 +761,9 @@ in
(mkRemovedOptionModule [ "services" "matrix-synapse" "tls_dh_params_path" ] ''
The `tls_dh_params_path` option was removed in `matrix-synapse` 0.99.0.
'')
(mkRemovedOptionModule [ "services" "matrix-synapse" "expire_access_token" ] ''
The `expire_access_token` option was removed in `matrix-synapse` 1.3.0.
'')
];

meta.doc = ./matrix-synapse.xml;
Expand Down

0 comments on commit ced3d97

Please sign in to comment.