We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2f1c638 + a6a4824 commit 68e8235Copy full SHA for 68e8235
Azure.php
@@ -61,7 +61,12 @@ public function getEndpoint(string $endpoint)
61
/** @inheritdoc */
62
public function getAuthorizationEndpoint()
63
{
64
- return new Uri($this->getEndpoint(self::ENDPOINT_AUTH));
+ global $conf;
65
+ $uri = new Uri($this->getEndpoint(self::ENDPOINT_AUTH));
66
+ if (isset($conf['plugin']['oauth']['mailRestriction'])) {
67
+ $uri->addToQuery('domain_hint', substr($conf['plugin']['oauth']['mailRestriction'], 1));
68
+ }
69
+ return $uri;
70
}
71
72
0 commit comments