mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-05-02 06:06:57 +02:00
AuthenticationViewController: When register do not propose to add 3rd party ids if there is no configured Identity Server.
This commit is contained in:
@@ -614,11 +614,20 @@
|
||||
else
|
||||
{
|
||||
[self.authenticationActivityIndicator stopAnimating];
|
||||
|
||||
// Show the supported 3rd party ids which may be added to the account
|
||||
authInputsview.thirdPartyIdentifiersHidden = NO;
|
||||
|
||||
[self updateRegistrationScreenWithThirdPartyIdentifiersHidden:NO];
|
||||
|
||||
BOOL isIdentityServerConfigured = self.identityServerTextField.text.length > 0;
|
||||
|
||||
if (isIdentityServerConfigured)
|
||||
{
|
||||
// Show the supported 3rd party ids which may be added to the account
|
||||
authInputsview.thirdPartyIdentifiersHidden = NO;
|
||||
[self updateRegistrationScreenWithThirdPartyIdentifiersHidden:NO];
|
||||
}
|
||||
else
|
||||
{
|
||||
// Do not propose to add 3rd party ids if there is no configured Identity Server
|
||||
[super onButtonPressed:sender];
|
||||
}
|
||||
}
|
||||
}];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user