cosmocode / dokuwiki-plugin-oauth

Generic oAuth1 and oAuth2 plugin for DokuWiki
http://www.dokuwiki.org/plugin:oauth
30 stars 78 forks source link

Do not display login form if singleService is set #117

Closed annda closed 2 years ago

annda commented 2 years ago

Fixes #116

splitbrain commented 2 years ago

Hmm this removes the form, but keeps the rest of the login prompt, right? The text "enter your credentials below" doesn't make any sense then anymore...

I think i would make sense to also replace the shown text, but I don't have a good idea how to do that... maybe we need an event around the locale file loading... Or an event to suppress the display in the Denied action?

annda commented 2 years ago

You are right. I will submit PRs with events in both cases.