Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 82da3b08 authored by theronakpatel's avatar theronakpatel
Browse files

added new patch for disabling file sytem

parent ac2f03e9
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -2,8 +2,8 @@ From: Ronak Patel <ronak.patel.ext@murena.com>
Date: Mon, 09 Dec 2024 18:50:00 +0530
Subject: [PATCH] Enabling account creation (by commenting) which does not check FS for first-time login

--- ./lib/private/User/Session.php	2024-09-04 16:26:24.610444326 +0000
+++ ./lib/private/User/Session-new.php	2024-12-09 11:44:00.399364921 +0000
--- ./lib/private/User/Session.php	2024-12-09 16:26:24.610444326 +0000
+++ ./lib/private/User/Session-new.php	2024-09-09 11:44:00.399364921 +0000
@@ -542,19 +542,19 @@
 
 		if ($firstTimeLogin) {
+1 −1
Original line number Diff line number Diff line
@@ -2,7 +2,7 @@ From: Ronak Patel <ronak.patel.ext@murena.com>
Date: Mon, 09 Dec 2024 18:50:00 +0530
Subject: [PATCH] Enabling account creation: Comment exception for cache gc

--- ./lib/base.php	2024-09-04 16:25:48.446616914 +0000
--- ./lib/base.php	2024-12-09 16:25:48.446616914 +0000
+++ ./lib/base-new.php	2024-12-09 11:51:21.916843879 +0000
@@ -884,10 +884,10 @@
 				} catch (\Exception $e) {
+15 −0
Original line number Diff line number Diff line
From: Ronak Patel <ronak.patel.ext@murena.com>
Date: Mon, 16 Dec 2024 18:50:00 +0530
Subject: [PATCH] Disabling access file system


--- ./lib/private/Lockdown/LockdownManager.php	2023-12-16 15:01:25
+++ ./lib/private/Lockdown/LockdownManager-new.php	2024-12-16 13:31:40
@@ -77,6 +77,7 @@
 	}
 
 	public function canAccessFilesystem() {
+		return false;
 		$scope = $this->getScopeAsArray();
 		return !$scope || $scope['filesystem'];
 	}