Merge pull request #5962 from zyhfish/task/fix-5961
Fix #5961: redirect to the external login page automatically.
This commit is contained in:
@@ -221,6 +221,14 @@ else
|
||||
{
|
||||
AddModuleMessage(Localizer["ExternalLoginStatus." + PageState.QueryString["status"]], MessageType.Warning);
|
||||
}
|
||||
else
|
||||
{
|
||||
if (_allowexternallogin && !_allowsitelogin)
|
||||
{
|
||||
// external login
|
||||
ExternalLogin();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
|
||||
Reference in New Issue
Block a user