We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7fa2055 commit 00bb297Copy full SHA for 00bb297
default-views/auth/no-permission.hbs
@@ -17,8 +17,18 @@
17
You are currently logged in as <code>{{webId}}</code>,
18
but do not have permission to access <code>{{currentUrl}}</code>.
19
</p>
20
+ <p>
21
+ <button class="btn btn-danger" onclick="logout()">Log out</button>
22
+ </p>
23
</div>
24
25
26
+<script src="/common/js/solid-auth-client.bundle.js"></script>
27
+<script>
28
+ async function logout () {
29
+ await solid.auth.logout()
30
+ location.reload()
31
+ }
32
+</script>
33
</body>
34
</html>
0 commit comments