]> source.dussan.org Git - nextcloud-server.git/commit
Fix basic auth for OAuth token endpoint 29341/head
authorJoas Schilling <coding@schilljs.com>
Tue, 19 Oct 2021 11:03:23 +0000 (13:03 +0200)
committerMichaIng <micha@dietpi.com>
Sat, 30 Oct 2021 00:25:06 +0000 (02:25 +0200)
commitb392321e732ad5f9474d691c235bd9bdc68cedd9
tree6fc8819b76c193bdd2bb042a5c8dc296e00975c6
parent5bd6a4fd297b9464d2a17bdd64a8cbca7536b6ed
Fix basic auth for OAuth token endpoint

Don't try to login when a client is trying to get a OAuth token.
OAuth needs to support basic auth too, so the login is not valid
inside Nextcloud and the Login exception would ruin it.

Signed-off-by: Joas Schilling <coding@schilljs.com>
lib/base.php