Hiding login and signup buttons when disabled.

This commit is contained in:
2024-03-17 06:00:18 +01:00
parent e7107c33c2
commit f8a6e67483
3 changed files with 11 additions and 1 deletions

View File

@@ -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,
},
};