mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-10-29 07:02:26 -05:00
[chore] Don't render sign-up form when registrations closed (#3001)
This commit is contained in:
parent
fef9b6a621
commit
fbdfce3190
2 changed files with 7 additions and 1 deletions
|
|
@ -58,7 +58,8 @@ func (m *Module) signupGETHandler(c *gin.Context) {
|
|||
Instance: instance,
|
||||
OGMeta: apiutil.OGBase(instance),
|
||||
Extra: map[string]any{
|
||||
"reasonRequired": config.GetAccountsReasonRequired(),
|
||||
"reasonRequired": config.GetAccountsReasonRequired(),
|
||||
"registrationOpen": config.GetAccountsRegistrationOpen(),
|
||||
},
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue