check-sso or login
This commit is contained in:
parent
c38f31b0ff
commit
db6c735fdc
@ -14,6 +14,7 @@ const start = async () => {
|
||||
console.log(`User is ${authenticated ? 'authenticated' : 'not authenticated'}`);
|
||||
} catch (error) {
|
||||
console.error('Failed to initialize adapter:', error);
|
||||
keycloak.login();
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -88,10 +88,12 @@ export const Journal = () => {
|
||||
|
||||
return (
|
||||
<StartWrapper>
|
||||
<IconButton onClick={send} title="Запрос">
|
||||
<ArrowImg src={arrow} />
|
||||
</IconButton>
|
||||
<pre>{JSON.stringify(answer, null, 4)}</pre>
|
||||
<div>
|
||||
<IconButton onClick={send} title="Запрос">
|
||||
<ArrowImg src={arrow} />
|
||||
</IconButton>
|
||||
<pre>{JSON.stringify(answer, null, 4)}</pre>
|
||||
</div>
|
||||
<form onSubmit={handleSubmit}>
|
||||
<InputWrapper>
|
||||
<InputLabel htmlFor="input">Название новой лекции:</InputLabel>
|
||||
|
Loading…
Reference in New Issue
Block a user