Basic user access endpoint
This commit is contained in:
@@ -18,7 +18,7 @@ class UserManager {
|
||||
}
|
||||
|
||||
async save(user) {
|
||||
if (user.baseUrl === config.baseUrl) {
|
||||
if (session.exists() && user.baseUrl === config.baseUrl) {
|
||||
return;
|
||||
}
|
||||
await db.users.put(user);
|
||||
|
||||
Reference in New Issue
Block a user