Merge pull request #5381 from matrix-org/t3chguy/fix/15597
Fix Widget OpenID Permissions for realsies
This commit is contained in:
commit
848893359e
2 changed files with 2 additions and 2 deletions
|
@ -84,7 +84,7 @@ export default class WidgetOpenIDPermissionsDialog extends React.Component {
|
||||||
"A widget located at %(widgetUrl)s would like to verify your identity. " +
|
"A widget located at %(widgetUrl)s would like to verify your identity. " +
|
||||||
"By allowing this, the widget will be able to verify your user ID, but not " +
|
"By allowing this, the widget will be able to verify your user ID, but not " +
|
||||||
"perform actions as you.", {
|
"perform actions as you.", {
|
||||||
widgetUrl: this.props.widgetUrl,
|
widgetUrl: this.props.widgetUrl.split("?")[0],
|
||||||
},
|
},
|
||||||
)}
|
)}
|
||||||
</p>
|
</p>
|
||||||
|
|
|
@ -250,7 +250,7 @@ export class StopGapWidget extends EventEmitter {
|
||||||
|
|
||||||
// Actually ask for permission to send the user's data
|
// Actually ask for permission to send the user's data
|
||||||
Modal.createTrackedDialog("OpenID widget permissions", '', WidgetOpenIDPermissionsDialog, {
|
Modal.createTrackedDialog("OpenID widget permissions", '', WidgetOpenIDPermissionsDialog, {
|
||||||
widgetUrl: rawUrl.includes("?") ? rawUrl.substr(0, rawUrl.indexOf("?")) : rawUrl,
|
widgetUrl: rawUrl,
|
||||||
widgetId: this.widgetId,
|
widgetId: this.widgetId,
|
||||||
isUserWidget: this.appTileProps.userWidget,
|
isUserWidget: this.appTileProps.userWidget,
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue