Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check for the proper current user value (again) #1061

Merged
merged 1 commit into from
Jun 25, 2020

Conversation

juliushaertl
Copy link
Member

Fixes a regression introduced in #1052 as getCurrentUser()?.uid actually returns undefined and not null, therefore the user was never asked for the guest name and therefore editing didn't work properly on public share links.

This PR now uses the proper null result that is defined by @nextcloud/auth for non-logged in users.

Signed-off-by: Julius Härtl <jus@bitgrid.net>
@juliushaertl juliushaertl added bug Something isn't working 3. to review Ready to be reviewed labels Jun 25, 2020
@juliushaertl juliushaertl added this to the 3.7.3 milestone Jun 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Ready to be reviewed bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants