summaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/main.rs b/src/main.rs
index 136db38..abd70b8 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -21,17 +21,6 @@ async fn main() -> Result<(), Box<dyn Error>> {
unsafe {
// Open the browser
browser::init(&config).await;
-
- // Login using the credentials inside the `config`
- match browser::login(&config).await {
- Ok(_) => {
- log::info!("Logged in Smartedu");
- }
- Err(e) => {
- // Using the bot when the user is not logged in, is simply useless.
- panic!("You can't connect: `{}`, credentials are {:?}", e, config);
- }
- }
}
Dispatcher::new(bot)