diff options
| author | Owen Jacobson <owen@grimoire.ca> | 2024-09-04 00:28:35 -0400 |
|---|---|---|
| committer | Owen Jacobson <owen@grimoire.ca> | 2024-09-04 00:28:35 -0400 |
| commit | 2965a788cfcf4a0386cb8832e0d96491bf54c1d3 (patch) | |
| tree | 096b00f64b092396e99d04ebe124fa15d734f6c1 /.sqlx/query-65d3e876d3a51752ff63a5ab71cc7531cc00eac44eda227cb0321d1d417f975e.json | |
| parent | 289e99ba977ebe6c4599141bc368c17f9905ffcc (diff) | |
Display a different / page depending on whether the current identity is valid or not.
This is mostly a proof of concept for the implementation of form login implemented in previous commits, but it _is_ useful as it controls whether the / page shows login, or shows logout.
From here, chat is next!
Diffstat (limited to '.sqlx/query-65d3e876d3a51752ff63a5ab71cc7531cc00eac44eda227cb0321d1d417f975e.json')
| -rw-r--r-- | .sqlx/query-65d3e876d3a51752ff63a5ab71cc7531cc00eac44eda227cb0321d1d417f975e.json | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/.sqlx/query-65d3e876d3a51752ff63a5ab71cc7531cc00eac44eda227cb0321d1d417f975e.json b/.sqlx/query-65d3e876d3a51752ff63a5ab71cc7531cc00eac44eda227cb0321d1d417f975e.json new file mode 100644 index 0000000..8011996 --- /dev/null +++ b/.sqlx/query-65d3e876d3a51752ff63a5ab71cc7531cc00eac44eda227cb0321d1d417f975e.json @@ -0,0 +1,26 @@ +{ + "db_name": "SQLite", + "query": "\n select\n login.id as \"id: LoginId\",\n name\n from login\n join token on login.id = token.login\n where token.secret = $1\n ", + "describe": { + "columns": [ + { + "name": "id: LoginId", + "ordinal": 0, + "type_info": "Text" + }, + { + "name": "name", + "ordinal": 1, + "type_info": "Text" + } + ], + "parameters": { + "Right": 1 + }, + "nullable": [ + false, + false + ] + }, + "hash": "65d3e876d3a51752ff63a5ab71cc7531cc00eac44eda227cb0321d1d417f975e" +} |
