Skip to content

Conversation

@rullzer
Copy link
Member

@rullzer rullzer commented Oct 31, 2018

If a user can't authenticate normally (because they have 2FA that is not
available on their devices for example). The redirect that is generated
should be of the proper format.

This means

  1. Include the protocol
  2. Include the possible subfolder

Discovered while debugging nextcloud/desktop#596

@blizzz
Copy link
Member

blizzz commented Nov 1, 2018

no tests? they need to be touched anyhow, CI is unhappy.

@rullzer rullzer force-pushed the fix/apptoken_login_flow_proper_host branch from 6234023 to bd9b452 Compare November 1, 2018 10:09
.htaccess Outdated
#### DO NOT CHANGE ANYTHING ABOVE THIS LINE ####

ErrorDocument 403 /
ErrorDocument 404 /
Copy link
Member

Choose a reason for hiding this comment

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

🙈

If a user can't authenticate normally (because they have 2FA that is not
available on their devices for example). The redirect that is generated
should be of the proper format.

This means

1. Include the protocol
2. Include the possible subfolder

Signed-off-by: Roeland Jago Douma <[email protected]>
Copy link
Member

@MorrisJobke MorrisJobke left a comment

Choose a reason for hiding this comment

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

Code makes sense 👍

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