fix(client): hide bot protection warning with disabled registrations (#8794)
* fix(client): hide bot protection warning with disabled registrations * Apply review suggestion from @Johann150 Co-authored-by: Johann150 <johann@qwertqwefsday.eu> Co-authored-by: Johann150 <johann@qwertqwefsday.eu> Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
This commit is contained in:
		
							parent
							
								
									9cc08aebbe
								
							
						
					
					
						commit
						53227d76d6
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -58,7 +58,7 @@ let view = $ref(null); | ||||||
| let el = $ref(null); | let el = $ref(null); | ||||||
| let pageProps = $ref({}); | let pageProps = $ref({}); | ||||||
| let noMaintainerInformation = isEmpty(instance.maintainerName) || isEmpty(instance.maintainerEmail); | let noMaintainerInformation = isEmpty(instance.maintainerName) || isEmpty(instance.maintainerEmail); | ||||||
| let noBotProtection = !instance.enableHcaptcha && !instance.enableRecaptcha; | let noBotProtection = !instance.disableRegistration && !instance.enableHcaptcha && !instance.enableRecaptcha; | ||||||
| let noEmailServer = !instance.enableEmail; | let noEmailServer = !instance.enableEmail; | ||||||
| let thereIsUnresolvedAbuseReport = $ref(false); | let thereIsUnresolvedAbuseReport = $ref(false); | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue