style: run prettier on entire codebase
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import * as OTPAuthLib from 'otpauth';
|
||||
import { decrypt } from './encryption';
|
||||
import * as OTPAuthLib from "otpauth";
|
||||
import { decrypt } from "./encryption";
|
||||
|
||||
export const OTPAuth = {
|
||||
verify(encryptedSecret: string, code: string): boolean {
|
||||
@@ -7,7 +7,7 @@ export const OTPAuth = {
|
||||
const secret = decrypt(encryptedSecret);
|
||||
const totp = new OTPAuthLib.TOTP({
|
||||
secret: OTPAuthLib.Secret.fromBase32(secret),
|
||||
algorithm: 'SHA1',
|
||||
algorithm: "SHA1",
|
||||
digits: 6,
|
||||
period: 30,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user