Skip to content

📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!

password -> text

Blue Mousecf2c9efe293c
diff --git a/backend/apps/production/src/auth/auth.service.ts b/backend/apps/production/src/auth/auth.service.ts
index e458da4b5..5e9091f61 100644
--- a/backend/apps/production/src/auth/auth.service.ts
+++ b/backend/apps/production/src/auth/auth.service.ts
@@ -84,10 +84,10 @@ export class AuthService {
)
}
- private async createSha1Hash(password: string): Promise<string> {
+ private async createSha1Hash(text: string): Promise<string> {
return new Promise(resolve => {
const sha1sum = createHash('sha1')
- .update(password)
+ .update(text)
.digest('hex')
.toUpperCase()
resolve(sha1sum)