Skip to content

Commit

Permalink
added more auth plugin stuff
Browse files Browse the repository at this point in the history
Signed-off-by: a1cd <[email protected]>
  • Loading branch information
a1cd committed Feb 21, 2024
1 parent 86aa84f commit 18a06ae
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pages/login.vue
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
<script setup lang="ts">
import "../utils/authorization/Authorizer";
import PouchDB from "pouchdb"
import auth from "../utils/authorization/Authorizer";
import {couchDBBaseURL} from "~/utils/URIs"
import {loginStateKey} from "~/utils/keys";
import {eventOptions} from "~/utils/eventOptions";
import PouchDB from "pouchdb"
PouchDB.plugin(auth)
const usersDB = new PouchDB(`${couchDBBaseURL}/basic`, {skip_setup: true});
let username = ref("");
let password = ref("");
Expand Down

0 comments on commit 18a06ae

Please sign in to comment.