]> source.dussan.org Git - nextcloud-server.git/commit
Use the proper server for the apptoken flow login 12177/head
authorRoeland Jago Douma <roeland@famdouma.nl>
Wed, 31 Oct 2018 22:06:08 +0000 (23:06 +0100)
committerRoeland Jago Douma <roeland@famdouma.nl>
Thu, 1 Nov 2018 10:45:35 +0000 (11:45 +0100)
commit92582a350d295f123d08f16f09e06baa4bc4733c
treedf9b50095f94a55a99c8936db9a5f48d260de83b
parent15ef354acec82b5d95642cfda95224ed34ffc8d0
Use the proper server for the apptoken flow login

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 <roeland@famdouma.nl>
core/Controller/ClientFlowLoginController.php
tests/Core/Controller/ClientFlowLoginControllerTest.php