File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -120,24 +120,23 @@ function LoginPage() {
120120
121121 { providers . length > 0 ? (
122122 < div className = "flex flex-col gap-2" >
123+ { ! registrationOpen && (
124+ < p className = "text-muted text-xs text-center mb-1" >
125+ Registration is closed. Existing accounts only.
126+ </ p >
127+ ) }
123128 { providers . map ( ( provider ) => (
124129 < Button
125130 key = { provider }
126131 variant = "outline"
127132 className = "w-full"
128- isDisabled = { ! registrationOpen }
129133 onPress = { ( ) => handleOAuth ( provider ) }
130134 data-umami-event = "sign-in-oauth"
131135 data-umami-event-provider = { provider }
132136 >
133137 Continue with { PROVIDER_LABELS [ provider ] ?? provider }
134138 </ Button >
135139 ) ) }
136- { ! registrationOpen && (
137- < p className = "text-muted text-xs text-center mt-1" >
138- Registration is closed. Max user limit reached.
139- </ p >
140- ) }
141140 </ div >
142141 ) : (
143142 < >
You can’t perform that action at this time.
0 commit comments