fix bug
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 1.1 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 1.6 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 2.0 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 4.1 KiB |
@@ -85,12 +85,18 @@ const handleOIDCLogin = (provider) => {
|
||||
userStore.oidc(provider, platform, browser)
|
||||
};
|
||||
|
||||
import googleImage from '@/assets/google.png';
|
||||
import githubImage from '@/assets/github.png';
|
||||
import oidcImage from '@/assets/oidc.png';
|
||||
import webauthImage from '@/assets/webauth.png';
|
||||
import defaultImage from '@/assets/oidc.png';
|
||||
|
||||
const providerImageMap = {
|
||||
google: '/google.png',
|
||||
github: '/github.png',
|
||||
oidc: '/oidc.png',
|
||||
webauth: '/webauth.png',
|
||||
default: '/default.png',
|
||||
google: googleImage,
|
||||
github: githubImage,
|
||||
oidc: oidcImage,
|
||||
webauth: webauthImage,
|
||||
default: defaultImage,
|
||||
};
|
||||
|
||||
const getProviderImage = (provider) => {
|
||||
|
||||
Reference in New Issue
Block a user