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

Commit 26a0c859 authored by theronakpatel's avatar theronakpatel
Browse files

Re-enable account creation

parent 398b9fb3
Loading
Loading
Loading
Loading
Loading
+20 −2
Original line number Diff line number Diff line
From: Ronak Patel <ronak.patel.ext@murena.com>
Date: Mon, 09 Dec 2024 18:50:00 +0530
Subject: [PATCH] Enabling account creation which does not check FS for first-time login
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
@@ -31,3 +31,21 @@ Subject: [PATCH] Enabling account creation which does not check FS for first-tim
 
 			// trigger any other initialization
 			\OC::$server->get(IEventDispatcher::class)->dispatch(IUser::class . '::firstLogin', new GenericEvent($this->getUser()));

--- ./lib/base.php	2024-09-04 16:25:48.446616914 +0000
+++ ./lib/base-new.php	2024-12-09 11:51:21.916843879 +0000
@@ -884,10 +884,10 @@
 				} catch (\Exception $e) {
 					// a GC exception should not prevent users from using OC,
 					// so log the exception
-					Server::get(LoggerInterface::class)->warning('Exception when running cache gc.', [
-						'app' => 'core',
-						'exception' => $e,
-					]);
+					//Server::get(LoggerInterface::class)->warning('Exception when running cache gc.', [
+					//	'app' => 'core',
+					//	'exception' => $e,
+					//]);
 				}
 			});
 		}
 No newline at end of file
+0 −21
Original line number Diff line number Diff line
From: Ronak Patel <ronak.patel.ext@murena.com>
Date: Mon, 09 Dec 2024 18:50:00 +0530
Subject: [PATCH] Enabling account creation: Comment exception

--- ./lib/base.php	2024-09-04 16:25:48.446616914 +0000
+++ ./lib/base-new.php	2024-12-09 11:51:21.916843879 +0000
@@ -884,10 +884,10 @@
 				} catch (\Exception $e) {
 					// a GC exception should not prevent users from using OC,
 					// so log the exception
-					Server::get(LoggerInterface::class)->warning('Exception when running cache gc.', [
-						'app' => 'core',
-						'exception' => $e,
-					]);
+					//Server::get(LoggerInterface::class)->warning('Exception when running cache gc.', [
+					//	'app' => 'core',
+					//	'exception' => $e,
+					//]);
 				}
 			});
 		}
 No newline at end of file