🐛 Switch back to bcryptjs to fix issues with FreeBSD and ARM #1696

This commit is contained in:
Jan Oberhauser
2021-05-21 21:54:30 -05:00
parent 343e63e667
commit f43781b137
2 changed files with 5 additions and 2 deletions

View File

@@ -22,7 +22,9 @@ import { RequestOptions } from 'oauth-1.0a';
import * as csrf from 'csrf';
import * as requestPromise from 'request-promise-native';
import { createHmac } from 'crypto';
import { compare } from '@node-rs/bcrypt';
// IMPORRTANT! Do not switch to anther bcrypt library unless really needed and
// tested with all possible systems like Windows, Alpine on ARM, FreeBSD, ...
import { compare } from 'bcryptjs';
import * as promClient from 'prom-client';
import {