Commit 9a9be68
authored
Bug: Fix page blinking after login (Chainlit#2640)
When using the `header_auth_callback ` and another auth callback for
login, the page starts to "blink" as soon as a user logged in. This is
because `header_auth_callback ` always gets called when routing to the
root.
Fix: Now when a user is already authenticated, the `header_auth_callback
`won't be called
Issue: Chainlit#25991 parent 010ac8f commit 9a9be68
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
76 | | - | |
| 76 | + | |
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
| |||
0 commit comments