fix :: single workspace singup page breaking (#5163)

This commit is contained in:
Kiran Ashok 2023-01-04 13:13:34 +05:30 committed by GitHub
parent 3f64abdaf4
commit b93b2cd269
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -130,8 +130,8 @@ class SignupPageComponent extends React.Component {
{((!this.state.configs?.enable_sign_up && !this.state.configs?.form?.enable_sign_up) ||
(!this.state.configs?.form?.enable_sign_up &&
this.state.configs?.enable_sign_up &&
!this.state.configs?.git.enabled &&
!this.state.configs?.google.enabled)) && (
!this.state.configs?.git?.enabled &&
!this.state.configs?.google?.enabled)) && (
<SignupStatusCard text={'Signup has been disabled by your workspace admin.'} />
)}