mirror of
https://github.com/finos/SymphonyElectron.git
synced 2024-12-28 09:51:06 -06:00
Merge pull request #1751 from sbenmoussati/bugfix/SDA-4076
SDA-4076 Add support for app restart while enabling browser authentication before defining pod URL at first time launch
This commit is contained in:
commit
1dab2992dc
@ -565,7 +565,7 @@ export class WindowHandler {
|
||||
url: userConfigUrl,
|
||||
message: '',
|
||||
urlValid: !!userConfigUrl,
|
||||
isPodConfigured: this.isPodConfigured,
|
||||
isPodConfigured: this.isPodConfigured && !!userConfigUrl,
|
||||
isSeamlessLoginEnabled: this.config.enableSeamlessLogin,
|
||||
});
|
||||
this.didShowWelcomeScreen = true;
|
||||
|
@ -151,7 +151,7 @@ export default class Welcome extends React.Component<{}, IState> {
|
||||
const url = _event.target.value.trim();
|
||||
const match =
|
||||
url.match(
|
||||
/(https?:\/\/.)?(www\.)?[-a-zA-Z0-9@:%._+~#=]{2,256}\.[a-z]{2,6}\b([-a-zA-Z0-9@:%_+.~#?&/=]*)/g,
|
||||
/^https:\/\/.(www\.)?[-a-zA-Z0-9@:%._+~#=]{2,256}\.[a-z]{2,6}\b([-a-zA-Z0-9@:%_+.~#?&/=]*)/g,
|
||||
) != null;
|
||||
if (url === 'https://[POD].symphony.com' || !match) {
|
||||
this.updateState(_event, {
|
||||
|
Loading…
Reference in New Issue
Block a user