javascript-solid-server 0.0.69 → 0.0.70
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/package.json
CHANGED
package/src/auth/middleware.js
CHANGED
|
@@ -315,12 +315,12 @@ function getErrorPage(statusCode, isAuthenticated, request) {
|
|
|
315
315
|
<p class="subtitle">${subtitle}</p>
|
|
316
316
|
|
|
317
317
|
<div class="actions">
|
|
318
|
-
|
|
319
|
-
Sign In
|
|
320
|
-
</a>` : ''}
|
|
321
|
-
<a href="${baseUrl}/" class="btn btn-secondary">
|
|
318
|
+
<a href="${baseUrl}/" class="btn btn-primary">
|
|
322
319
|
Go to Homepage
|
|
323
320
|
</a>
|
|
321
|
+
${is401 ? `<a href="${baseUrl}/idp/register" class="btn btn-secondary">
|
|
322
|
+
Create Account
|
|
323
|
+
</a>` : ''}
|
|
324
324
|
</div>
|
|
325
325
|
|
|
326
326
|
<div class="divider"><span>What is this?</span></div>
|
|
@@ -330,7 +330,7 @@ function getErrorPage(statusCode, isAuthenticated, request) {
|
|
|
330
330
|
<p>
|
|
331
331
|
This is a <strong>Solid Pod</strong> — a personal data store where you control your own data.
|
|
332
332
|
Resources can be private, shared with specific people, or public.
|
|
333
|
-
${is401 ? '
|
|
333
|
+
${is401 ? "To access protected content, you'll need to sign in using a Solid app (like a data browser) with your WebID." : 'Ask the owner to grant you access.'}
|
|
334
334
|
</p>
|
|
335
335
|
</div>
|
|
336
336
|
|