This repository has been archived on 2026-04-25. You can view files and clone it, but cannot push or open issues or pull requests.
RustyPass/src/main.rs

21 lines
439 B
Rust
Raw Normal View History

use interface::int_auth;
// Libraries
mod interface;
mod resource;
mod secure;
mod auth;
// Functions
// Entry-Point
fn main() {
// Asking user for login credentials
let (username, password) = int_auth();
// Verify the user
let auth_profile: auth::Auth = auth::Auth::authenticate(username, password);
// DEBUG: Testing if the user is authenticated
println!("Authenticated Status: {}", auth_profile.verified);
}