feat: WIP, admins only can see a table of users that have logged in the site

This commit is contained in:
2023-01-10 02:16:20 +01:00
parent 2901a1f899
commit af2fcc31f8
4 changed files with 100 additions and 3 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ import { Router } from 'express'
import { AuthorizationCode } from 'simple-oauth2'
import fetch from 'node-fetch'
export function setupOauth(r: Router) {
export function setupOAuth(r: Router) {
const config = {
client: {
id: process.env.OAUTH_CLIENT_ID ?? '',