@mjhls/mjh-framework 1.0.782-gating-test-v2 → 1.0.782-gating-test-v4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/View.js +2 -2
- package/dist/esm/View.js +2 -2
- package/package.json +1 -1
package/dist/cjs/View.js
CHANGED
|
@@ -682,7 +682,7 @@ var Button = function Button(props) {
|
|
|
682
682
|
return React__default['default'].createElement(
|
|
683
683
|
'button',
|
|
684
684
|
_extends._extends({ onClick: function onClick() {
|
|
685
|
-
return client.signIn(provider);
|
|
685
|
+
return client.signIn(provider, { callbackUrl: window.location.href });
|
|
686
686
|
}, style: style }, props),
|
|
687
687
|
children
|
|
688
688
|
);
|
|
@@ -798,7 +798,7 @@ var SocialSelectionBox = function SocialSelectionBox(_ref) {
|
|
|
798
798
|
),
|
|
799
799
|
socialLoginProviders.credentials && React__default['default'].createElement(
|
|
800
800
|
Button,
|
|
801
|
-
{ provider: '
|
|
801
|
+
{ provider: 'Credentials', color: 'rgba(34,34,34,.95)' },
|
|
802
802
|
React__default['default'].createElement(
|
|
803
803
|
'div',
|
|
804
804
|
{ style: { textAlign: 'center', flex: '1 1 auto' } },
|
package/dist/esm/View.js
CHANGED
|
@@ -672,7 +672,7 @@ var Button = function Button(props) {
|
|
|
672
672
|
return React.createElement(
|
|
673
673
|
'button',
|
|
674
674
|
_extends({ onClick: function onClick() {
|
|
675
|
-
return client.signIn(provider);
|
|
675
|
+
return client.signIn(provider, { callbackUrl: window.location.href });
|
|
676
676
|
}, style: style }, props),
|
|
677
677
|
children
|
|
678
678
|
);
|
|
@@ -788,7 +788,7 @@ var SocialSelectionBox = function SocialSelectionBox(_ref) {
|
|
|
788
788
|
),
|
|
789
789
|
socialLoginProviders.credentials && React.createElement(
|
|
790
790
|
Button,
|
|
791
|
-
{ provider: '
|
|
791
|
+
{ provider: 'Credentials', color: 'rgba(34,34,34,.95)' },
|
|
792
792
|
React.createElement(
|
|
793
793
|
'div',
|
|
794
794
|
{ style: { textAlign: 'center', flex: '1 1 auto' } },
|