1 2 3 4 5 6 7 8 9 10
pub fn login(creds: models::Credentials) { // authenticate crate::database::get_user(); } fn logout() { // logout from the database } pub mod models;