Skip to content

Commit cf8561f

Browse files
committed
old login deprecated
1 parent 11bd71a commit cf8561f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

common/js/auth-buttons.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@
3939

4040
// Log the user in on the client and the server
4141
async function login () {
42+
alert(`login from this page is no more possible.\n\nYou must ask the pod owner to modify this page or remove it.`)
43+
/* deprecated since inrupt/solid-auth-client
4244
const session = await auth.popupLogin()
4345
if (session) {
4446
// Make authenticated request to the server to establish a session cookie
@@ -48,7 +50,7 @@
4850
await auth.logout()
4951
}
5052
location.reload()
51-
}
53+
} */
5254
}
5355

5456
// Log the user out from the client and the server

0 commit comments

Comments
 (0)