mirror of
https://github.com/KeyZox71/knl_meowscendence.git
synced 2025-12-31 21:56:41 +01:00
「🔨」 fix(authapi): remove should be working now
This commit is contained in:
@ -82,9 +82,16 @@ function getUser(user) {
|
||||
return stmt.get(user);
|
||||
}
|
||||
|
||||
function rmUser(user) {
|
||||
const stmt = database.prepare('DELETE * FROM credentials WHERE username = ?');
|
||||
stmt.run(user);
|
||||
}
|
||||
|
||||
|
||||
const authDB = {
|
||||
prepareDB,
|
||||
checkUser,
|
||||
rmUser,
|
||||
addUser,
|
||||
passwordQuery,
|
||||
setTOTPSecret,
|
||||
|
||||
Reference in New Issue
Block a user