Update app.py
Browse files
app.py
CHANGED
|
@@ -92,6 +92,8 @@ def Page():
|
|
| 92 |
rv.Card(flat=True,children=[Message(message) for message in messages.value])
|
| 93 |
with ColumnLayout():
|
| 94 |
InputText()
|
| 95 |
-
|
| 96 |
-
|
|
|
|
|
|
|
| 97 |
Page()
|
|
|
|
| 92 |
rv.Card(flat=True,children=[Message(message) for message in messages.value])
|
| 93 |
with ColumnLayout():
|
| 94 |
InputText()
|
| 95 |
+
|
| 96 |
+
if auth.user.value:
|
| 97 |
+
with ColumnLayout():
|
| 98 |
+
solara.Button("Logout", icon_name="mdi-logout", href=auth.get_logout_url())
|
| 99 |
Page()
|