mirror of
https://github.com/itflow-org/itflow
synced 2026-03-06 05:44:52 +00:00
Merge pull request #711 from wrongecho/portal-sso-fix
Fix Client Portal AAD SSO Button
This commit is contained in:
@@ -113,7 +113,7 @@ if ($_SERVER['REQUEST_METHOD'] == 'POST' && isset($_POST['login'])) {
|
|||||||
<?php
|
<?php
|
||||||
if (!empty($_SESSION['login_message'])) { ?>
|
if (!empty($_SESSION['login_message'])) { ?>
|
||||||
<p class="login-box-msg text-danger">
|
<p class="login-box-msg text-danger">
|
||||||
<?php
|
<?php
|
||||||
echo $_SESSION['login_message'];
|
echo $_SESSION['login_message'];
|
||||||
unset($_SESSION['login_message']);
|
unset($_SESSION['login_message']);
|
||||||
?>
|
?>
|
||||||
@@ -154,7 +154,9 @@ if ($_SERVER['REQUEST_METHOD'] == 'POST' && isset($_POST['login'])) {
|
|||||||
if (!empty($azure_client_id)) { ?>
|
if (!empty($azure_client_id)) { ?>
|
||||||
<hr>
|
<hr>
|
||||||
<div class="col text-center">
|
<div class="col text-center">
|
||||||
<button type="button" class="btn btn-secondary" onclick="location.href = 'login_microsoft.php';">Login with Microsoft Azure AD</button>
|
<a href="login_microsoft.php">
|
||||||
|
<button type="button" class="btn btn-secondary">Login with Microsoft Azure AD</button>
|
||||||
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user