(fix): tauth blocking children
(feat): update ui components
This commit is contained in:
parent
fb742bd068
commit
fb7c9fa538
7 changed files with 92 additions and 9 deletions
|
|
@ -13,6 +13,7 @@ export type SettingsSchema = Record<
|
|||
|
||||
const settings = {
|
||||
account: {
|
||||
profile: {},
|
||||
security: {
|
||||
login_qr_code: {
|
||||
display: "Login QR Code",
|
||||
|
|
|
|||
|
|
@ -121,7 +121,11 @@ export default function Wrapper({ children }: { children: ReactNode }) {
|
|||
const identifier = params.get("identifier");
|
||||
const redirect = params.get("redirect");
|
||||
const challenge = params.get("challenge");
|
||||
if (!identifier || !redirect) return;
|
||||
if (!identifier || !redirect) {
|
||||
// eslint-disable-next-line
|
||||
setAllowChildern(true);
|
||||
return;
|
||||
}
|
||||
|
||||
load("user_id").then((userId) => {
|
||||
if (!challenge) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue