Update documentation and auth dict submissions
							parent
							
								
									81cae66732
								
							
						
					
					
						commit
						9e2d80b8c8
					
				| 
						 | 
				
			
			@ -248,8 +248,7 @@ export default createReactClass({
 | 
			
		|||
            // need to.
 | 
			
		||||
            if (!this.state.doingUIAuth) {
 | 
			
		||||
                await this._makeRegisterRequest(null);
 | 
			
		||||
                // This should never succeed since we specified an empty
 | 
			
		||||
                // auth object.
 | 
			
		||||
                // This should never succeed since we specified no auth object.
 | 
			
		||||
                console.log("Expecting 401 from register request but got success!");
 | 
			
		||||
            }
 | 
			
		||||
        } catch (e) {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -740,7 +740,7 @@ export const FallbackAuthEntry = createReactClass({
 | 
			
		|||
            event.data === "authDone" &&
 | 
			
		||||
            event.origin === this.props.matrixClient.getHomeserverUrl()
 | 
			
		||||
        ) {
 | 
			
		||||
            this.props.submitAuthDict(null);
 | 
			
		||||
            this.props.submitAuthDict({});
 | 
			
		||||
        }
 | 
			
		||||
    },
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue