feat: added error handling and login POST route
This commit is contained in:
parent
67ad8c2b64
commit
2f8181491a
7 changed files with 245 additions and 13 deletions
|
|
@ -1,6 +1,9 @@
|
|||
mod models;
|
||||
pub mod models;
|
||||
mod schema;
|
||||
|
||||
pub use models::session::Session;
|
||||
pub use models::user::{NewUser, User};
|
||||
|
||||
use diesel::{
|
||||
r2d2::{ConnectionManager, Pool},
|
||||
SqliteConnection,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue