KEYCLOAK-6534 Check for string in receiveMessage in session iframe
This commit is contained in:
parent
208ecbc3f7
commit
eb326cd1bb
1 changed files with 4 additions and 0 deletions
|
@ -79,6 +79,10 @@
|
|||
|
||||
function receiveMessage(event)
|
||||
{
|
||||
if (typeof event.data !== 'string') {
|
||||
return
|
||||
}
|
||||
|
||||
var origin = event.origin;
|
||||
var data = event.data.split(' ');
|
||||
if (data.length != 2) {
|
||||
|
|
Loading…
Reference in a new issue