Skip to content

Commit

Permalink
Fix IdP provider name
Browse files Browse the repository at this point in the history
  • Loading branch information
blokhin committed Nov 19, 2023
1 parent b47fd8a commit 64a0e3f
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
"test:watch": "npm run test -- --watch",
"size": "size-limit",
"clean": "mkdir -p ./dist && find ./dist/ -type f -delete",
"husky:init": "npx husky install"
"husky:init": "npx husky install",
"optimade-prefetch": "node node_modules/optimade/prefetch.js"
},
"engines": {
"node": ">= 14"
Expand Down
File renamed without changes
2 changes: 1 addition & 1 deletion src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export const DOWNLOADABLE_APP_FILENAME = 'index.html';

export const SYNC_TOASTS_CONFIG = { timeout: 2000, pos: 'bottom_right' } as ToastItem;

export const IdPs = RUNTIME_CONFIG.IDPS || ['linkedin', 'github', 'orcid', 'mpds', 'local']; // available: linkedin, github, orcid, mpds, basf, local
export const IdPs = RUNTIME_CONFIG.IDPS || ['linkedin', 'github', 'local']; // available: linkedin, github, orcid, mpds, microsoft, local

export const PAGE_LIMIT = RUNTIME_CONFIG.PAGE_LIMIT || 200;

Expand Down
4 changes: 2 additions & 2 deletions src/pages/Login.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
import linkedin from '@/assets/img/linkedin.svg';
import orcid from '@/assets/img/ORCID.svg';
import mpds from '@/assets/img/mpds.svg';
import basf from '@/assets/img/BASF.svg';
import microsoft from '@/assets/img/microsoft.svg';
import Logo from '@/components/Logo.svelte';
Expand All @@ -80,7 +80,7 @@
let errmsg;
let providers = IdPs.filter((p) => p !== 'local');
const icons = { github, linkedin, orcid, mpds, basf };
const icons = { github, linkedin, orcid, mpds, microsoft };
async function submit() {
try {
Expand Down

0 comments on commit 64a0e3f

Please sign in to comment.