Skip to content
Snippets Groups Projects
Unverified Commit 75223dc8 authored by Bekerle, Patrizio's avatar Bekerle, Patrizio :fire:
Browse files

Set an attribute when auth data was is set

parent abd48856
No related branches found
No related tags found
No related merge requests found
Pipeline #231877 failed
......@@ -166,6 +166,8 @@ export class AuthKeycloak extends AdapterLitElement {
person: this._user,
};
this.setAttribute("data-auth-set", "");
// inject a window.DBPAuth variable for Cypress/Playwright
if (window.Cypress || window.playwright) {
window.DBPAuth = auth;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment