mirror of
https://github.com/Drop-OSS/drop-app.git
synced 2025-11-16 09:41:17 +10:00
fix(db): initialise doesn't recreate default install dir
This commit is contained in:
@ -190,7 +190,6 @@ pub async fn auth_initiate<'a>() -> Result<(), String> {
|
||||
pub fn setup() -> Result<(AppStatus, Option<User>), ()> {
|
||||
let data = DB.borrow_data().unwrap();
|
||||
|
||||
// If we have certs, exit for now
|
||||
if data.auth.is_some() {
|
||||
let user_result = fetch_user();
|
||||
if user_result.is_err() {
|
||||
|
||||
Reference in New Issue
Block a user