solid-server 5.8.8-f929ff9d → 6.0.0-1e403760
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/common/js/index-buttons.mjs +3 -2
- package/config/templates/server/index.html +1 -1
- package/coverage/tmp/coverage-2268-1767791620185-0.json +1 -0
- package/coverage/tmp/{coverage-2419-1767431285701-0.json → coverage-2269-1767791599783-0.json} +1 -1
- package/default-templates/server/index.html +1 -1
- package/lib/models/account-manager.mjs +2 -2
- package/package.json +3 -3
- package/solid-server-6.0.0.tgz +0 -0
- package/test/resources/accounts/db/oidc/op/clients/{_key_6f9636fdb5324b61b8ab50b4635a34a4.json → _key_92562d880070f137713e506e483bbf0a.json} +1 -1
- package/test/resources/accounts/db/oidc/rp/clients/_key_https%3A%2F%2Flocalhost%3A3457.json +1 -1
- package/test/resources/accounts-scenario/alice/db/oidc/op/clients/{_key_95aaf9d161680b0f090bb5a9a2cb33f0.json → _key_b413a20c233c7902ea8a58daa999b5a4.json} +1 -1
- package/test/resources/accounts-scenario/alice/db/oidc/rp/clients/_key_https%3A%2F%2Flocalhost%3A7000.json +1 -1
- package/test/resources/accounts-scenario/bob/db/oidc/op/clients/{_key_81c70163ad6fd9787b53820b976d3097.json → _key_5815389546277987a152f6d803bc7fef.json} +1 -1
- package/test/resources/accounts-scenario/bob/db/oidc/rp/clients/_key_https%3A%2F%2Flocalhost%3A7001.json +1 -1
- package/test/resources/accounts-scenario/charlie/db/oidc/op/clients/{_key_a519289bb1923e8be0443df427aa9180.json → _key_4af4f7bb27e9e77c0a5b3dc62321879f.json} +1 -1
- package/test/resources/accounts-scenario/charlie/db/oidc/rp/clients/_key_https%3A%2F%2Flocalhost%3A5002.json +1 -1
- package/test/resources/accounts-strict-origin-off/alice/db/oidc/op/clients/{_key_ed5f17781defd41045ce9abd9fbbdc2f.json → _key_5d4e24429e4121ea9b8cddea5abf331b.json} +1 -1
- package/test/resources/accounts-strict-origin-off/alice/db/oidc/rp/clients/_key_https%3A%2F%2Flocalhost%3A7010.json +1 -1
- package/test/resources/accounts-strict-origin-off/bob/db/oidc/op/clients/{_key_ba9ed16c43ca78441f0ad76fc118bfaf.json → _key_1846c2fdb2e4fc7bd2270c10ebb08c59.json} +1 -1
- package/test/resources/accounts-strict-origin-off/bob/db/oidc/rp/clients/_key_https%3A%2F%2Flocalhost%3A7011.json +1 -1
- package/test/resources/config/templates/server/index.html +1 -1
- package/test/unit/account-manager-test.mjs +2 -2
- package/test/unit/email-welcome-test.mjs +1 -1
- package/common/js/auth-buttons.js +0 -67
- package/common/js/index-buttons.js +0 -44
- package/config/defaults.js +0 -25
- package/config/templates/emails/delete-account.js +0 -49
- package/config/templates/emails/invalid-username.js +0 -30
- package/config/templates/emails/reset-password.js +0 -49
- package/config/templates/emails/welcome.js +0 -39
- package/coverage/tmp/coverage-2418-1767431307717-0.json +0 -1
- package/default-templates/emails/delete-account.js +0 -49
- package/default-templates/emails/invalid-username.js +0 -30
- package/default-templates/emails/reset-password.js +0 -49
- package/default-templates/emails/welcome.js +0 -39
- package/solid-server-5.8.8.tgz +0 -0
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
// ESM version of index-buttons.js
|
|
2
|
+
/* global SolidLogic */
|
|
2
3
|
'use strict'
|
|
3
4
|
const keyname = 'SolidServerRootRedirectLink'
|
|
4
5
|
/* function register () {
|
|
@@ -6,8 +7,8 @@ const keyname = 'SolidServerRootRedirectLink'
|
|
|
6
7
|
window.location.href = '/register'
|
|
7
8
|
} */
|
|
8
9
|
document.addEventListener('DOMContentLoaded', async function () {
|
|
9
|
-
const authn =
|
|
10
|
-
const authSession =
|
|
10
|
+
const authn = SolidLogic.authn
|
|
11
|
+
const authSession = SolidLogic.authSession
|
|
11
12
|
|
|
12
13
|
if (!authn.currentUser()) await authn.checkUser()
|
|
13
14
|
const user = authn.currentUser()
|