mirror of
https://gitcode.com/GitHub_Trending/ji/jitsi-meet.git
synced 2026-09-03 17:27:47 +00:00
fix(authentication): removed old LoginDialog.js file, fixed redirection to the external auth and created actions.any.js (#9049)
* fix(authentication) login dialog now closes when connection is established * fix(authentication) fixed shibboleth auth * fix(authentication) renamed authenticateExternal func to authenticate and updated its logic * fix(authentication)removed logindialog.js and created actions.any * fix(authentication) removed focus from externalauthwindow * fix(authentication) removed private sign from some actions and added openLoginDialog to actions.any * fix(authentication) exported all from actions.any * fix(authentication) reverted change regarding externalAuth * fix(authentication) fixed indentation
This commit is contained in:
@@ -6,7 +6,7 @@ import type { Dispatch } from 'redux';
|
||||
import { Dialog } from '../../../base/dialog';
|
||||
import { translate, translateToHTML } from '../../../base/i18n';
|
||||
import { connect } from '../../../base/redux';
|
||||
import { openLoginDialog, cancelWaitForOwner } from '../../actions.web';
|
||||
import { cancelWaitForOwner } from '../../actions.web';
|
||||
|
||||
/**
|
||||
* The type of the React {@code Component} props of {@link WaitForOwnerDialog}.
|
||||
@@ -76,9 +76,9 @@ class WaitForOwnerDialog extends PureComponent<Props> {
|
||||
* @returns {void}
|
||||
*/
|
||||
_onIAmHost() {
|
||||
const { dispatch } = this.props;
|
||||
const { onAuthNow } = this.props;
|
||||
|
||||
dispatch(openLoginDialog());
|
||||
onAuthNow && onAuthNow();
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -88,7 +88,7 @@ class WaitForOwnerDialog extends PureComponent<Props> {
|
||||
*/
|
||||
render() {
|
||||
const {
|
||||
_room,
|
||||
_room: room,
|
||||
t
|
||||
} = this.props;
|
||||
|
||||
@@ -102,7 +102,7 @@ class WaitForOwnerDialog extends PureComponent<Props> {
|
||||
<span>
|
||||
{
|
||||
translateToHTML(
|
||||
t, 'dialog.WaitForHostMsg', { room: _room })
|
||||
t, 'dialog.WaitForHostMsg', { room })
|
||||
}
|
||||
</span>
|
||||
</Dialog>
|
||||
|
||||
Reference in New Issue
Block a user