remove comment
This commit is contained in:
parent
a94acbf7d3
commit
fb267a11f9
@ -12,7 +12,7 @@ let rootElement: ReactDOM.Root
|
|||||||
export const mount = async (Сomponent, element = document.getElementById('app')) => {
|
export const mount = async (Сomponent, element = document.getElementById('app')) => {
|
||||||
let user = null;
|
let user = null;
|
||||||
try {
|
try {
|
||||||
await keycloak.init({ onLoad: "login-required" }); // 'login-required' });
|
await keycloak.init({ onLoad: "login-required" });
|
||||||
user = { ...(await keycloak.loadUserInfo()), ...keycloak.tokenParsed };
|
user = { ...(await keycloak.loadUserInfo()), ...keycloak.tokenParsed };
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error("Failed to initialize adapter:", error);
|
console.error("Failed to initialize adapter:", error);
|
||||||
|
Loading…
Reference in New Issue
Block a user