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

Commit a55c3395 authored by AVINASH GUSAIN's avatar AVINASH GUSAIN
Browse files

naming fix

parent 99750a7c
Loading
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -51,8 +51,8 @@ class BeforeTemplateRenderedListener implements IEventListener {
				$userID = $user->getUID();
				$recoveryEmail = $this->config->getUserValue($userID, 'email-recovery', 'recovery-email', '');
				if($recoveryEmail === '') {
					$this->util->addStyle($this->appName, $this->appName . '-emailrecovery');
					$this->util->addScript($this->appName, $this->appName . '-emailrecovery');
					$this->util->addStyle($this->appName, $this->appName . '-email-recovery');
					$this->util->addScript($this->appName, $this->appName . '-email-recovery');
				}
			}
		}
@@ -60,7 +60,7 @@ class BeforeTemplateRenderedListener implements IEventListener {
		$pathInfo = $this->request->getPathInfo();

		if (strpos($pathInfo, '/apps/ecloud-accounts/accounts') !== false) {
			$this->util->addStyle($this->appName, $this->appName . '-userregistration');
			$this->util->addStyle($this->appName, $this->appName . '-user-registration');
		}

	}
+1 −1
Original line number Diff line number Diff line
@@ -10,6 +10,6 @@ module.exports = {
		'delete-account-listeners': path.join(__dirname, 'src/delete-account-listeners.js'),
		'beta-user-setting': path.join(__dirname, 'src/beta-user-setting.js'),
		'signup': path.join(__dirname, 'src/signup.js'),
		'emailrecovery': path.join(__dirname, 'src/emailrecovery.js')
		'email-recovery': path.join(__dirname, 'src/emailrecovery.js')
	},
}