Show registration button if registration allow list is used and improve

registration page

Closes #1102

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2022-10-28 12:58:52 +02:00
parent e420713a6f
commit fc5b6882ae
5 changed files with 55 additions and 15 deletions

View File

@@ -444,3 +444,12 @@ export const SEARCH_CONFIG = gql`
}
}
`;
export const REGISTRATIONS = gql`
query Registrations {
config {
registrationsOpen
registrationsAllowlist
}
}
`;