Hiding login and signup buttons when disabled.
This commit is contained in:
@@ -146,6 +146,8 @@ export default async function initServer() {
|
||||
primaryStash: req.user.primaryStash,
|
||||
},
|
||||
env: {
|
||||
allowLogin: config.auth.login,
|
||||
allowSignup: config.auth.signup,
|
||||
maxAggregateSize: config.database.manticore.maxAggregateSize,
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user