@@ -1153,8 +1153,8 @@ return /******/ (function(modules) { // webpackBootstrap
11531153 value : function enforceRootElement ( object ) {
11541154 if ( typeof object === 'string' || this . isArray ( object ) ) {
11551155 object = _react2 . default . createElement (
1156- 'span ' ,
1157- null ,
1156+ 'div ' ,
1157+ { style : { display : 'inline-block' } } ,
11581158 object
11591159 ) ;
11601160 }
@@ -2695,7 +2695,7 @@ return /******/ (function(modules) { // webpackBootstrap
26952695 // Only set the X-Stormpath-Agent header if we're on the same domain as the requested URI.
26962696 // This because we want to avoid CORS requests that require you to have to whitelist the X-Stormpath-Agent header.
26972697 if ( _utils2 . default . isRelativeUri ( uri ) || _utils2 . default . isSameHost ( uri , window . location . href ) ) {
2698- headers [ 'X-Stormpath-Agent' ] = ( "react-stormpath" ) + '/' + ( "1.2.1 " ) + ' react/' + _react2 . default . version ;
2698+ headers [ 'X-Stormpath-Agent' ] = ( "react-stormpath" ) + '/' + ( "1.2.2 " ) + ' react/' + _react2 . default . version ;
26992699 }
27002700
27012701 makeHttpRequest ( method , uri , body , headers , function ( err , result ) {
@@ -2984,17 +2984,12 @@ return /******/ (function(modules) { // webpackBootstrap
29842984
29852985 this . reset ( ) ;
29862986
2987- this . service . login ( options , function ( err , result ) {
2987+ this . service . login ( options , function ( err ) {
29882988 if ( err ) {
29892989 return callback ( err ) ;
29902990 }
29912991
2992- _this3 . sessionError = null ;
2993- _this3 . sessionStore . set ( result ) ;
2994- _UserActions2 . default . set ( result ) ;
2995- _this3 . emitChange ( ) ;
2996-
2997- callback ( null , result ) ;
2992+ _this3 . resolveSession ( callback , true ) ;
29982993 } ) ;
29992994 }
30002995 } , {
@@ -10366,6 +10361,7 @@ return /******/ (function(modules) { // webpackBootstrap
1036610361 var _this4 = this ;
1036710362
1036810363 e . preventDefault ( ) ;
10364+ e . persist ( ) ;
1036910365
1037010366 var next = function next ( err , data ) {
1037110367 if ( err ) {
@@ -11040,6 +11036,7 @@ return /******/ (function(modules) { // webpackBootstrap
1104011036 var _this3 = this ;
1104111037
1104211038 e . preventDefault ( ) ;
11039+ e . persist ( ) ;
1104311040
1104411041 var next = function next ( err , data ) {
1104511042 if ( err ) {
@@ -11466,6 +11463,7 @@ return /******/ (function(modules) { // webpackBootstrap
1146611463 var _this4 = this ;
1146711464
1146811465 e . preventDefault ( ) ;
11466+ e . persist ( ) ;
1146911467
1147011468 var next = function next ( err , data ) {
1147111469 if ( err ) {
@@ -11777,6 +11775,7 @@ return /******/ (function(modules) { // webpackBootstrap
1177711775 var _this3 = this ;
1177811776
1177911777 e . preventDefault ( ) ;
11778+ e . persist ( ) ;
1178011779
1178111780 var next = function next ( err , data ) {
1178211781 if ( err ) {
@@ -12073,6 +12072,7 @@ return /******/ (function(modules) { // webpackBootstrap
1207312072 var _this3 = this ;
1207412073
1207512074 e . preventDefault ( ) ;
12075+ e . persist ( ) ;
1207612076
1207712077 var next = function next ( err , data ) {
1207812078 if ( err ) {
0 commit comments