Change sign-in message
This commit is contained in:
parent
0f7adfb5ab
commit
a9414d5e21
7125
js/ui/package-lock.json
generated
7125
js/ui/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -50,7 +50,7 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@portis/web3": "^4.0.6",
|
||||
"@spruceid/siwe-web3modal": "^0.1.5",
|
||||
"@spruceid/siwe-web3modal": "^0.1.6",
|
||||
"@toruslabs/torus-embed": "^1.18.3",
|
||||
"@walletconnect/web3-provider": "^1.6.6",
|
||||
"fortmatic": "^2.2.1",
|
||||
|
@ -15,8 +15,6 @@
|
||||
export let oidc_nonce: string;
|
||||
export let client_id: string;
|
||||
|
||||
let uri: string = window.location.href.split('?')[0];
|
||||
|
||||
// Could be exposed in the future.
|
||||
export let useENS: boolean = true;
|
||||
|
||||
@ -24,12 +22,13 @@
|
||||
|
||||
let client = new Client({
|
||||
session: {
|
||||
domain,
|
||||
uri,
|
||||
domain: window.location.host,
|
||||
uri: window.location.origin,
|
||||
useENS,
|
||||
version: '1',
|
||||
// TODO: Vet this as the default statement.
|
||||
statement: 'Sign-In With Ethereum OpenID-Connect',
|
||||
statement: `You are signing-in to ${domain}.`,
|
||||
resources: [redirect],
|
||||
},
|
||||
modal: {
|
||||
theme: 'dark',
|
||||
|
@ -1,6 +1,6 @@
|
||||
module.exports = {
|
||||
darkMode: 'class',
|
||||
purge: ['./src/**/*.{html,js,svelte,ts}'],
|
||||
content: ['./src/**/*.{html,js,svelte,ts}'],
|
||||
theme: {
|
||||
extend: {
|
||||
screens: {
|
||||
|
Loading…
Reference in New Issue
Block a user