mirror of
				https://codeberg.org/yeentown/barkey.git
				synced 2025-11-04 15:34:13 +00:00 
			
		
		
		
	chore: replace recaptcha with frc
This commit is contained in:
		
							parent
							
								
									d786e96c2b
								
							
						
					
					
						commit
						b8b077cbad
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -77,7 +77,7 @@ export class CaptchaService {
 | 
			
		|||
	@bindThis
 | 
			
		||||
	public async verifyFriendlyCaptcha(secret: string, response: string | null | undefined): Promise<void> {
 | 
			
		||||
		if (response == null) {
 | 
			
		||||
			throw new Error('recaptcha-failed: no response provided');
 | 
			
		||||
			throw new Error('frc-failed: no response provided');
 | 
			
		||||
		}
 | 
			
		||||
 | 
			
		||||
		const result = await this.httpRequestService.send('https://api.friendlycaptcha.com/api/v1/siteverify', {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue