add hide radius patch
This commit is contained in:
parent
ee2452aa35
commit
c180b3d55e
2 changed files with 17 additions and 2 deletions
|
|
@ -79,8 +79,12 @@ in
|
||||||
services = {
|
services = {
|
||||||
kanidm = {
|
kanidm = {
|
||||||
package = pkgs.kanidmWithSecretProvisioning_1_12.overrideAttrs (old: {
|
package = pkgs.kanidmWithSecretProvisioning_1_12.overrideAttrs (old: {
|
||||||
|
patches = (old.patches or [ ]) ++ [
|
||||||
# Adds the "Migrate your legacy Federated Nexus account" link to the login page
|
# Adds the "Migrate your legacy Federated Nexus account" link to the login page
|
||||||
patches = (old.patches or [ ]) ++ [ ./migrate-link.patch ];
|
./migrate-link.patch
|
||||||
|
# Hides the RADIUS menu item in user settings, as there are no RADIUS servers
|
||||||
|
./hide-radius.patch
|
||||||
|
];
|
||||||
});
|
});
|
||||||
|
|
||||||
server = {
|
server = {
|
||||||
|
|
|
||||||
11
clients/quadraticserver/kanidm/hide-radius.patch
Normal file
11
clients/quadraticserver/kanidm/hide-radius.patch
Normal file
|
|
@ -0,0 +1,11 @@
|
||||||
|
--- a/server/core/templates/user_settings_partial_base.html
|
||||||
|
+++ b/server/core/templates/user_settings_partial_base.html
|
||||||
|
@@ -24,8 +24,6 @@
|
||||||
|
ProfileMenuItems::Credentials, "shield-lock") %)(% endcall %)
|
||||||
|
(% call side_menu_item("Enrol Device", (Urls::EnrolDevice),
|
||||||
|
ProfileMenuItems::EnrolDevice, "phone-flip") %)(% endcall %)
|
||||||
|
- (% call side_menu_item("RADIUS", (Urls::Radius),
|
||||||
|
- ProfileMenuItems::Radius, "wifi") %)(% endcall %)
|
||||||
|
</ul>
|
||||||
|
<div id="settings-window" class="flex-grow-1 ps-sm-4 ps-md-5 pt-sm-0 pt-4">
|
||||||
|
<div>
|
||||||
Loading…
Reference in a new issue