Skip to content

[Ficus] make custom redirect URL microsite aware - #147

Merged
melvinsoft merged 1 commit into
appsembler/ficus/developfrom
maxi/ficus-custom-redirect-url-microsite
Aug 4, 2017
Merged

[Ficus] make custom redirect URL microsite aware#147
melvinsoft merged 1 commit into
appsembler/ficus/developfrom
maxi/ficus-custom-redirect-url-microsite

Conversation

@melvinsoft

@melvinsoft melvinsoft commented Aug 3, 2017

Copy link
Copy Markdown

Same as #146 but for Ficus.

This PR is a fix for our previous customization CUSTOM_LOGOUT_REDIRECT_URL.

The PR first, changes:
settings.CUSTOM_LOGOUT_REDIRECT_URL
for:
configuration_helpers.get_value('CUSTOM_LOGOUT_REDIRECT_URL', settings.CUSTOM_LOGOUT_REDIRECT_URL)

So if we have an override on the microsite, will be used.

Also, sin the target is calculated on the LogoutView is only calculated one time, and even having a microsite override, isn't calculated every time that the logout view is called, so we're moving it to a method, to force it to be calculated every time, and pick the microsite override if exists.

@melvinsoft melvinsoft changed the title make custom redirect URL microsite aware [Ficus] make custom redirect URL microsite aware Aug 3, 2017
@melvinsoft
melvinsoft force-pushed the maxi/ficus-custom-redirect-url-microsite branch from 3379671 to 1513a77 Compare August 3, 2017 13:42
@melvinsoft
melvinsoft requested a review from amirtds August 3, 2017 13:49
@melvinsoft

Copy link
Copy Markdown
Author

@amirtds amirtds left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excellent. LGTM

@tkeemon tkeemon left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@melvinsoft
melvinsoft merged commit 68eb387 into appsembler/ficus/develop Aug 4, 2017
@melvinsoft
melvinsoft deleted the maxi/ficus-custom-redirect-url-microsite branch August 4, 2017 19:07
bryanlandia pushed a commit that referenced this pull request Sep 24, 2018
…idation-on-account-page

Fix for duplicate email validation on account settings page
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants