Skip to content

Conversation

@ccardinaux
Copy link

Hi Philippe,

Thanks for the great plugin! Added a new option to force all site visitors to login via Azure before accessing the site. Would appreciate any edits/comments you have.

Thanks,
Charles

public function save_redirect_and_force_login() {

$this->register_session();

Copy link
Contributor

Choose a reason for hiding this comment

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

This might fail if the server is running on a non-standard port... Check this approach https://gist.github.com/leereamsnyder/fac3b9ccb6b99ab14f36

Copy link
Author

Choose a reason for hiding this comment

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

Good point, thanks for the feedback.

Copy link
Contributor

@bradkovach bradkovach left a comment

Choose a reason for hiding this comment

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

Looks good. Paging @psignoret for more feedback.

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