mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-08-08 17:22:29 +08:00
style: 💄 restyle
This commit is contained in:
parent
d4cd0e8eff
commit
04cbe9d3d1
@ -1,5 +1,3 @@
|
||||
"use strict";
|
||||
|
||||
import sql from "../sql.js";
|
||||
import optionService from "../options.js";
|
||||
import myScryptService from "./my_scrypt.js";
|
||||
|
@ -23,6 +23,7 @@ function setRecoveryCodes(recoveryCodes: string) {
|
||||
});
|
||||
return false;
|
||||
}
|
||||
|
||||
function getRecoveryCodes() {
|
||||
if (!isRecoveryCodeSet()) {
|
||||
return Array(8).fill("Keys not set")
|
||||
@ -67,7 +68,7 @@ function verifyRecoveryCode(recoveryCodeGuess: string) {
|
||||
}
|
||||
|
||||
function getUsedRecoveryCodes() {
|
||||
if (!isRecoveryCodeSet()){
|
||||
if (!isRecoveryCodeSet()) {
|
||||
return Array(8).fill("Recovery code not set")
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user