Skip to content
Snippets Groups Projects
Unverified Commit 8e2e144b authored by Yash Rajpal's avatar Yash Rajpal Committed by GitHub
Browse files

fix: Layout -> Login settings definition (#35046)

parent 101f58bc
No related branches found
No related tags found
No related merge requests found
---
'@rocket.chat/meteor': patch
---
Fixes an issue which was preventing admins in enterprise workspaces from updating some premium layout settings.
......@@ -8,18 +8,21 @@ export const createLayoutSettings = () =>
public: true,
enterprise: true,
invalidValue: false,
modules: ['hide-watermark'],
});
await this.add('Layout_Login_Hide_Title', false, {
type: 'boolean',
public: true,
enterprise: true,
invalidValue: false,
modules: ['hide-watermark'],
});
await this.add('Layout_Login_Hide_Powered_By', false, {
type: 'boolean',
public: true,
enterprise: true,
invalidValue: false,
modules: ['hide-watermark'],
});
await this.add('Layout_Login_Template', 'horizontal-template', {
type: 'select',
......@@ -36,6 +39,7 @@ export const createLayoutSettings = () =>
public: true,
enterprise: true,
invalidValue: 'horizontal-template',
modules: ['hide-watermark'],
});
await this.add('Accounts_ShowFormLogin', true, {
type: 'boolean',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment