Selaa lähdekoodia

move launch into try bracket

CauseFX 6 vuotta sitten
vanhempi
sitoutus
30556593af
3 muutettua tiedostoa jossa 7 lisäystä ja 7 poistoa
  1. 1 1
      README.md
  2. 4 4
      api/functions/2fa-functions.php
  3. 2 2
      api/functions/api-functions.php

+ 1 - 1
README.md

@@ -11,7 +11,7 @@
 
 
 ![OrganizrAbout](https://user-images.githubusercontent.com/16184466/53614282-a91e9e00-3b96-11e9-9b3e-d249775ecaa1.png)
 ![OrganizrAbout](https://user-images.githubusercontent.com/16184466/53614282-a91e9e00-3b96-11e9-9b3e-d249775ecaa1.png)
 
 
-Do you have quite a bit of services running on your computer or server?  Do you have a lot of bookmarks or have to memorize a bunch of ip's and ports?  Well, Organizr is here to help with that.  Organizr allows you to setup "Tabs" that will be loaded all in one webpage.  You can then work on your server with ease.  Want to give users access to some Tabs?  No problem, just enable user support and have them make an account.  Want guests to be able to visit too?  Enable Guest support for those tabs.
+Do you have quite a bit of services running on your computer or server? Do you have a lot of bookmarks or have to memorize a bunch of ip's and ports? Well, Organizr is here to help with that. Organizr allows you to setup "Tabs" that will be loaded all in one webpage. You can then work on your server with ease. Want to give users access to some Tabs? No problem, just enable user support and have them make an account. Want guests to be able to visit too? Enable Guest support for those tabs.
 
 
 ![OrganizrInfo](https://user-images.githubusercontent.com/16184466/53614285-a9b73480-3b96-11e9-835e-9fadd045582b.png)
 ![OrganizrInfo](https://user-images.githubusercontent.com/16184466/53614285-a9b73480-3b96-11e9-835e-9fadd045582b.png)
 
 

+ 4 - 4
api/functions/2fa-functions.php

@@ -28,7 +28,7 @@ trait TwoFAFunctions
 		$this->setAPIResponse('success', '2FA code created - awaiting verification', 200);
 		$this->setAPIResponse('success', '2FA code created - awaiting verification', 200);
 		return $result;
 		return $result;
 	}
 	}
-	
+
 	public function verify2FA($secret, $code, $type)
 	public function verify2FA($secret, $code, $type)
 	{
 	{
 		if (!$secret || $secret == '') {
 		if (!$secret || $secret == '') {
@@ -61,7 +61,7 @@ trait TwoFAFunctions
 			return false;
 			return false;
 		}
 		}
 	}
 	}
-	
+
 	public function save2FA($secret, $type)
 	public function save2FA($secret, $type)
 	{
 	{
 		if (!$secret || $secret == '') {
 		if (!$secret || $secret == '') {
@@ -87,7 +87,7 @@ trait TwoFAFunctions
 		$this->setAPIResponse('success', '2FA Added', 200);
 		$this->setAPIResponse('success', '2FA Added', 200);
 		return $this->processQueries($response);
 		return $this->processQueries($response);
 	}
 	}
-	
+
 	public function remove2FA()
 	public function remove2FA()
 	{
 	{
 		$response = [
 		$response = [
@@ -105,4 +105,4 @@ trait TwoFAFunctions
 		$this->setAPIResponse('success', '2FA deleted', 204);
 		$this->setAPIResponse('success', '2FA deleted', 204);
 		return $this->processQueries($response);
 		return $this->processQueries($response);
 	}
 	}
-}
+}

+ 2 - 2
api/functions/api-functions.php

@@ -2,5 +2,5 @@
 
 
 trait ApiFunctions
 trait ApiFunctions
 {
 {
-
-}
+    //   something
+}