mirror of
https://github.com/janishutz/MusicPlayerV2.git
synced 2025-11-25 04:54:23 +00:00
13 lines
411 B
TypeScript
13 lines
411 B
TypeScript
import db from './db.js';
|
|
// import hash from '../security/hash.js';
|
|
|
|
db.initDB();
|
|
// setTimeout( () => {
|
|
// console.log( 'Setting up admin account' );
|
|
// hash.hashPassword( 'test' ).then( hash => {
|
|
// db.writeDataSimple( 'admin', 'email', 'info@janishutz.com', { email: 'info@janishutz.com', pass: hash, two_fa: 'enhanced' } );
|
|
// console.log( 'Complete!' );
|
|
// } );
|
|
// }, 5000 );
|
|
|