mirror of
				https://codeberg.org/yeentown/barkey.git
				synced 2025-11-03 23:14:13 +00:00 
			
		
		
		
	chore: lint
This commit is contained in:
		
							parent
							
								
									8595a325ce
								
							
						
					
					
						commit
						d0af17c674
					
				
					 3 changed files with 3 additions and 3 deletions
				
			
		| 
						 | 
					@ -77,7 +77,7 @@ export default class extends Endpoint<typeof meta, typeof paramDef> {
 | 
				
			||||||
				}
 | 
									}
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
			const passwordMatched = await argon2.verify(profile.password ?? '', ps.password);;
 | 
								const passwordMatched = await argon2.verify(profile.password ?? '', ps.password);
 | 
				
			||||||
			if (!passwordMatched) {
 | 
								if (!passwordMatched) {
 | 
				
			||||||
				throw new ApiError(meta.errors.incorrectPassword);
 | 
									throw new ApiError(meta.errors.incorrectPassword);
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -84,7 +84,7 @@ export default class extends Endpoint<typeof meta, typeof paramDef> {
 | 
				
			||||||
				}
 | 
									}
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
			const passwordMatched = await argon2.verify(profile.password ?? '', ps.password);;
 | 
								const passwordMatched = await argon2.verify(profile.password ?? '', ps.password);
 | 
				
			||||||
			if (!passwordMatched) {
 | 
								if (!passwordMatched) {
 | 
				
			||||||
				throw new ApiError(meta.errors.incorrectPassword);
 | 
									throw new ApiError(meta.errors.incorrectPassword);
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -83,7 +83,7 @@ export default class extends Endpoint<typeof meta, typeof paramDef> { // eslint-
 | 
				
			||||||
				}
 | 
									}
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
			const passwordMatched = await argon2.verify(profile.password!, ps.password);;
 | 
								const passwordMatched = await argon2.verify(profile.password!, ps.password);
 | 
				
			||||||
			if (!passwordMatched) {
 | 
								if (!passwordMatched) {
 | 
				
			||||||
				throw new ApiError(meta.errors.incorrectPassword);
 | 
									throw new ApiError(meta.errors.incorrectPassword);
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue