Skip to content

Add logout button to login-required view#1007

Merged
kjetilk merged 1 commit into
nodeSolidServer:release/v5.0.0from
rubensworks:fix/enable-logout-required-login
Dec 4, 2018
Merged

Add logout button to login-required view#1007
kjetilk merged 1 commit into
nodeSolidServer:release/v5.0.0from
rubensworks:fix/enable-logout-required-login

Conversation

@rubensworks

@rubensworks rubensworks commented Dec 4, 2018

Copy link
Copy Markdown
Contributor

This is needed because a server may invalidate the user's session,
without the client-side code knowing of this.
In this case, the user should be allowed to log out its (invalid)
session, and login again to get a new session.

This is a proposed fix for #1001.
Ideally, the user should be logged out automatically,
but as this is not a trivial thing to solve properly,
this fix is a good alternative for now.

This is needed because a server may invalidate the user's session,
without the client-side code knowing of this.
In this case, the user should be allowed to log out its (invalid)
session, and login again to get a new session.

@megoth megoth left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@kjetilk kjetilk requested a review from RubenVerborgh December 4, 2018 16:33
@kjetilk kjetilk merged commit 959a74e into nodeSolidServer:release/v5.0.0 Dec 4, 2018
@ghost ghost removed the in progress label Dec 4, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants