fix issues in backend implementions,
auth endpoint now fetches all relevant backend tokens
This commit is contained in:
@@ -35,14 +35,6 @@ export default class LocalDB extends DB_BACKEND {
|
||||
writeFileSync(this.#path, JSON.stringify(this.#data));
|
||||
}
|
||||
|
||||
openSession (credentials) {
|
||||
return [];
|
||||
}
|
||||
|
||||
closeSesssion (tokens) {
|
||||
return true;
|
||||
}
|
||||
|
||||
addUser (username, config = null) {
|
||||
config = config || this.#defaultuser;
|
||||
this.#data.users[username] = config;
|
||||
|
Reference in New Issue
Block a user