Skip to content

A free open source IT asset/license management system

Working attempt, but will try with old library for mininal footprint

snipea874dbb0d08f
diff --git a/app/Http/Controllers/Auth/LoginController.php b/app/Http/Controllers/Auth/LoginController.php
index cfd9549d4e..6fc0f8bd57 100644
--- a/app/Http/Controllers/Auth/LoginController.php
+++ b/app/Http/Controllers/Auth/LoginController.php
@@ -15,7 +15,9 @@ use Input;
use Redirect;
use Log;
use View;
-use PragmaRX\Google2FA\Google2FA;
+use Otp\Otp;
+use Otp\GoogleAuthenticator;
+use ParagonIE\ConstantTime\Encoding;
/**
* This controller handles authentication for the user, including local
@@ -213,22 +215,24 @@ class LoginController extends Controller
return redirect()->route('login')->with('error', 'You must be logged in.');
}
+
+ $settings = Setting::getSettings();
$user = Auth::user();
- $google2fa = app()->make('PragmaRX\Google2FA\Contracts\Google2FA');
- if ($user->two_factor_secret=='') {
- $user->two_factor_secret = $google2fa->generateSecretKey(32);
- $user->save();
+ if (($user->two_factor_secret!='') && ($user->two_factor_enrolled==1)) {
+ return redirect()->route('two-factor')->with('error', 'Your device is already enrolled.');
}
- $google2fa_url = $google2fa->getQRCodeGoogleUrl(
- urlencode(Setting::getSettings()->site_name),
- urlencode($user->username),
- $user->two_factor_secret
- );
- return view('auth.two_factor_enroll')->with('google2fa_url', $google2fa_url);
+ new Otp();
+ $secret = GoogleAuthenticator::generateRandom();
+ $user->two_factor_secret = $secret;
+ $user->save();
+
+ $barcode = new \Com\Tecnick\Barcode\Barcode();
+ $barcode_obj = $barcode->getBarcodeObj('QRCODE', 'otpauth://totp/'.urlencode($settings->site_name).':'.urlencode($user->username).'?secret='.urlencode($secret).'&issuer=Snipe-IT&period=30', 300, 300, 'black', array(-2, -2, -2, -2));
+ return view('auth.two_factor_enroll')->with('barcode_obj', $barcode_obj);
}
@@ -255,18 +259,23 @@ class LoginController extends Controller
return redirect()->route('login')->with('error', 'You must be logged in.');
}
+ if (!$request->has('two_factor_secret')) {
+ return redirect()->route('two-factor')->with('error', 'Two-factor code is required.');
+ }
+
$user = Auth::user();
- $secret = $request->get('two_factor_secret');
- $google2fa = app()->make('PragmaRX\Google2FA\Contracts\Google2FA');
- $valid = $google2fa->verifyKey($user->two_factor_secret, $secret);
+ $otp = new Otp();
+
+
- if ($valid) {
+ if ($otp->checkTotp(Encoding::base32DecodeUpper($user->two_factor_secret), $request->get('two_factor_secret'))) {
$user->two_factor_enrolled = 1;
$user->save();
$request->session()->put('2fa_authed', 'true');
return redirect()->route('home')->with('success', 'You are logged in!');
}
+ \Log::debug('Did not match');
return redirect()->route('two-factor')->with('error', 'Invalid two-factor code');
diff --git a/composer.json b/composer.json
index 1cc3495bab..591b2e7cb7 100644
--- a/composer.json
+++ b/composer.json
@@ -7,6 +7,7 @@
"require": {
"php": ">=5.6.4",
"barryvdh/laravel-debugbar": "^2.4",
+ "christian-riesen/otp": "^2.6",
"doctrine/cache": "^1.6",
"doctrine/common": "^2.7",
"doctrine/dbal": "^2.5.13",
@@ -24,10 +25,10 @@
"league/csv": "^8.1",
"maknz/slack": "^1.7",
"neitanod/forceutf8": "^2.0",
+ "paragonie/constant_time_encoding": "^1.0",
"patchwork/utf8": "~1.2",
"phpdocumentor/reflection-docblock": "3.2.2",
"phpspec/prophecy": "1.6.2",
- "pragmarx/google2fa": "^5.0",
"predis/predis": "^1.1",
"rollbar/rollbar-laravel": "2.4.1",
"schuppo/password-strength": "~1.5",
diff --git a/composer.lock b/composer.lock
index 295ed72d53..9549b8ec80 100644
--- a/composer.lock
+++ b/composer.lock
@@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
"This file is @generated automatically"
],
- "content-hash": "2cca559455a131968b936d097d3fe682",
+ "content-hash": "38f97c45aebc4a176ded2743d0b0a8a4",
"packages": [
{
"name": "barryvdh/laravel-debugbar",
@@ -55,6 +55,64 @@
],
"time": "2017-07-21T11:56:48+00:00"
},
+ {
+ "name": "christian-riesen/otp",
+ "version": "2.6.2",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/ChristianRiesen/otp.git",
+ "reference": "67d3351e9614458f937b4f058791f7e695c9a0c7"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/ChristianRiesen/otp/zipball/67d3351e9614458f937b4f058791f7e695c9a0c7",
+ "reference": "67d3351e9614458f937b4f058791f7e695c9a0c7",
+ "shasum": ""
+ },
+ "require": {
+ "paragonie/constant_time_encoding": "^1|^2",
+ "paragonie/random_compat": ">=1",
+ "php": ">=5.4.0",
+ "symfony/polyfill-php56": "^1"
+ },
+ "require-dev": {
+ "phpunit/phpunit": "^4.8.35 || ^5.7.11 || ^6.0.5"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "2.x-dev"
+ }
+ },
+ "autoload": {
+ "psr-4": {
+ "Otp\\": "src/"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Christian Riesen",
+ "email": "[email protected]",
+ "homepage": "http://christianriesen.com",
+ "role": "Developer"
+ }
+ ],
+ "description": "One Time Passwords, hotp and totp according to RFC4226 and RFC6238",
+ "homepage": "https://github.com/ChristianRiesen/otp",
+ "keywords": [
+ "googleauthenticator",
+ "hotp",
+ "otp",
+ "rfc4226",
+ "rfc6238",
+ "totp"
+ ],
+ "time": "2019-01-25T10:00:06+00:00"
+ },
{
"name": "defuse/php-encryption",
"version": "v2.2.1",
@@ -732,16 +790,16 @@
},
{
"name": "erusev/parsedown",
- "version": "1.7.1",
+ "version": "v1.7.2",
"source": {
"type": "git",
"url": "https://github.com/erusev/parsedown.git",
- "reference": "92e9c27ba0e74b8b028b111d1b6f956a15c01fc1"
+ "reference": "d60bcdc46978357759ecb13cb4b078da783f8faf"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/erusev/parsedown/zipball/92e9c27ba0e74b8b028b111d1b6f956a15c01fc1",
- "reference": "92e9c27ba0e74b8b028b111d1b6f956a15c01fc1",
+ "url": "https://api.github.com/repos/erusev/parsedown/zipball/d60bcdc46978357759ecb13cb4b078da783f8faf",
+ "reference": "d60bcdc46978357759ecb13cb4b078da783f8faf",
"shasum": ""
},
"require": {
@@ -774,7 +832,7 @@
"markdown",
"parser"
],
- "time": "2018-03-08T01:11:30+00:00"
+ "time": "2019-03-17T17:19:46+00:00"
},
{
"name": "fideloper/proxy",
@@ -994,32 +1052,33 @@
},
{
"name": "guzzlehttp/psr7",
- "version": "1.4.2",
+ "version": "1.5.2",
"source": {
"type": "git",
"url": "https://github.com/guzzle/psr7.git",
- "reference": "f5b8a8512e2b58b0071a7280e39f14f72e05d87c"
+ "reference": "9f83dded91781a01c63574e387eaa769be769115"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/guzzle/psr7/zipball/f5b8a8512e2b58b0071a7280e39f14f72e05d87c",
- "reference": "f5b8a8512e2b58b0071a7280e39f14f72e05d87c",
+ "url": "https://api.github.com/repos/guzzle/psr7/zipball/9f83dded91781a01c63574e387eaa769be769115",
+ "reference": "9f83dded91781a01c63574e387eaa769be769115",
"shasum": ""
},
"require": {
"php": ">=5.4.0",
- "psr/http-message": "~1.0"
+ "psr/http-message": "~1.0",
+ "ralouphie/getallheaders": "^2.0.5"
},
"provide": {
"psr/http-message-implementation": "1.0"
},
"require-dev": {
- "phpunit/phpunit": "~4.0"
+ "phpunit/phpunit": "~4.8.36 || ^5.7.27 || ^6.5.8"
},
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "1.4-dev"
+ "dev-master": "1.5-dev"
}
},
"autoload": {
@@ -1049,13 +1108,14 @@
"keywords": [
"http",
"message",
+ "psr-7",
"request",
"response",
"stream",
"uri",
"url"
],
- "time": "2017-03-20T17:10:46+00:00"
+ "time": "2018-12-04T20:46:45+00:00"
},
{
"name": "intervention/image",
@@ -1562,16 +1622,16 @@
},
{
"name": "lcobucci/jwt",
- "version": "3.2.4",
+ "version": "3.2.5",
"source": {
"type": "git",
"url": "https://github.com/lcobucci/jwt.git",
- "reference": "c9704b751315d21735dc98d78d4f37bd73596da7"
+ "reference": "82be04b4753f8b7693b62852b7eab30f97524f9b"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/lcobucci/jwt/zipball/c9704b751315d21735dc98d78d4f37bd73596da7",
- "reference": "c9704b751315d21735dc98d78d4f37bd73596da7",
+ "url": "https://api.github.com/repos/lcobucci/jwt/zipball/82be04b4753f8b7693b62852b7eab30f97524f9b",
+ "reference": "82be04b4753f8b7693b62852b7eab30f97524f9b",
"shasum": ""
},
"require": {
@@ -1616,7 +1676,7 @@
"JWS",
"jwt"
],
- "time": "2018-08-03T11:23:50+00:00"
+ "time": "2018-11-11T12:22:26+00:00"
},
{
"name": "league/csv",
@@ -1677,16 +1737,16 @@
},
{
"name": "league/event",
- "version": "2.1.2",
+ "version": "2.2.0",
"source": {
"type": "git",
"url": "https://github.com/thephpleague/event.git",
- "reference": "e4bfc88dbcb60c8d8a2939a71f9813e141bbe4cd"
+ "reference": "d2cc124cf9a3fab2bb4ff963307f60361ce4d119"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/thephpleague/event/zipball/e4bfc88dbcb60c8d8a2939a71f9813e141bbe4cd",
- "reference": "e4bfc88dbcb60c8d8a2939a71f9813e141bbe4cd",
+ "url": "https://api.github.com/repos/thephpleague/event/zipball/d2cc124cf9a3fab2bb4ff963307f60361ce4d119",
+ "reference": "d2cc124cf9a3fab2bb4ff963307f60361ce4d119",
"shasum": ""
},
"require": {
@@ -1694,7 +1754,7 @@
},
"require-dev": {
"henrikbjorn/phpspec-code-coverage": "~1.0.1",
- "phpspec/phpspec": "~2.0.0"
+ "phpspec/phpspec": "^2.2"
},
"type": "library",
"extra": {
@@ -1723,20 +1783,20 @@
"event",
"listener"
],
- "time": "2015-05-21T12:24:47+00:00"
+ "time": "2018-11-26T11:52:41+00:00"
},
{
"name": "league/flysystem",
- "version": "1.0.48",
+ "version": "1.0.50",
"source": {
"type": "git",
"url": "https://github.com/thephpleague/flysystem.git",
- "reference": "a6ded5b2f6055e2db97b4b859fdfca2b952b78aa"
+ "reference": "dab4e7624efa543a943be978008f439c333f2249"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/thephpleague/flysystem/zipball/a6ded5b2f6055e2db97b4b859fdfca2b952b78aa",
- "reference": "a6ded5b2f6055e2db97b4b859fdfca2b952b78aa",
+ "url": "https://api.github.com/repos/thephpleague/flysystem/zipball/dab4e7624efa543a943be978008f439c333f2249",
+ "reference": "dab4e7624efa543a943be978008f439c333f2249",
"shasum": ""
},
"require": {
@@ -1807,7 +1867,7 @@
"sftp",
"storage"
],
- "time": "2018-10-15T13:53:10+00:00"
+ "time": "2019-02-01T08:50:36+00:00"
},
{
"name": "league/oauth2-server",
@@ -1989,16 +2049,16 @@
},
{
"name": "monolog/monolog",
- "version": "1.23.0",
+ "version": "1.24.0",
"source": {
"type": "git",
"url": "https://github.com/Seldaek/monolog.git",
- "reference": "fd8c787753b3a2ad11bc60c063cff1358a32a3b4"
+ "reference": "bfc9ebb28f97e7a24c45bdc3f0ff482e47bb0266"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/Seldaek/monolog/zipball/fd8c787753b3a2ad11bc60c063cff1358a32a3b4",
- "reference": "fd8c787753b3a2ad11bc60c063cff1358a32a3b4",
+ "url": "https://api.github.com/repos/Seldaek/monolog/zipball/bfc9ebb28f97e7a24c45bdc3f0ff482e47bb0266",
+ "reference": "bfc9ebb28f97e7a24c45bdc3f0ff482e47bb0266",
"shasum": ""
},
"require": {
@@ -2063,7 +2123,7 @@
"logging",
"psr-3"
],
- "time": "2017-06-19T01:22:40+00:00"
+ "time": "2018-11-05T09:00:11+00:00"
},
{
"name": "mtdowling/cron-expression",
@@ -2148,16 +2208,16 @@
},
{
"name": "nesbot/carbon",
- "version": "1.34.0",
+ "version": "1.36.2",
"source": {
"type": "git",
"url": "https://github.com/briannesbitt/Carbon.git",
- "reference": "1dbd3cb01c5645f3e7deda7aa46ef780d95fcc33"
+ "reference": "cd324b98bc30290f233dd0e75e6ce49f7ab2a6c9"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/1dbd3cb01c5645f3e7deda7aa46ef780d95fcc33",
- "reference": "1dbd3cb01c5645f3e7deda7aa46ef780d95fcc33",
+ "url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/cd324b98bc30290f233dd0e75e6ce49f7ab2a6c9",
+ "reference": "cd324b98bc30290f233dd0e75e6ce49f7ab2a6c9",
"shasum": ""
},
"require": {
@@ -2165,9 +2225,12 @@
"symfony/translation": "~2.6 || ~3.0 || ~4.0"
},
"require-dev": {
- "friendsofphp/php-cs-fixer": "~2",
"phpunit/phpunit": "^4.8.35 || ^5.7"
},
+ "suggest": {
+ "friendsofphp/php-cs-fixer": "Needed for the `composer phpcs` command. Allow to automatically fix code style.",
+ "phpstan/phpstan": "Needed for the `composer phpstan` command. Allow to detect potential errors."
+ },
"type": "library",
"extra": {
"laravel": {
@@ -2199,7 +2262,7 @@
"datetime",
"time"
],
- "time": "2018-09-20T19:36:25+00:00"
+ "time": "2018-12-28T10:07:33+00:00"
},
{
"name": "nikic/php-parser",
@@ -2317,16 +2380,16 @@
},
{
"name": "paragonie/random_compat",
- "version": "v2.0.17",
+ "version": "v2.0.18",
"source": {
"type": "git",
"url": "https://github.com/paragonie/random_compat.git",
- "reference": "29af24f25bab834fcbb38ad2a69fa93b867e070d"
+ "reference": "0a58ef6e3146256cc3dc7cc393927bcc7d1b72db"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/paragonie/random_compat/zipball/29af24f25bab834fcbb38ad2a69fa93b867e070d",
- "reference": "29af24f25bab834fcbb38ad2a69fa93b867e070d",
+ "url": "https://api.github.com/repos/paragonie/random_compat/zipball/0a58ef6e3146256cc3dc7cc393927bcc7d1b72db",
+ "reference": "0a58ef6e3146256cc3dc7cc393927bcc7d1b72db",
"shasum": ""
},
"require": {
@@ -2362,7 +2425,7 @@
"pseudorandom",
"random"
],
- "time": "2018-07-04T16:31:37+00:00"
+ "time": "2019-01-03T20:59:08+00:00"
},
{
"name": "patchwork/utf8",
@@ -2571,16 +2634,16 @@
},
{
"name": "phpseclib/phpseclib",
- "version": "2.0.11",
+ "version": "2.0.15",
"source": {
"type": "git",
"url": "https://github.com/phpseclib/phpseclib.git",
- "reference": "7053f06f91b3de78e143d430e55a8f7889efc08b"
+ "reference": "11cf67cf78dc4acb18dc9149a57be4aee5036ce0"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/phpseclib/phpseclib/zipball/7053f06f91b3de78e143d430e55a8f7889efc08b",
- "reference": "7053f06f91b3de78e143d430e55a8f7889efc08b",
+ "url": "https://api.github.com/repos/phpseclib/phpseclib/zipball/11cf67cf78dc4acb18dc9149a57be4aee5036ce0",
+ "reference": "11cf67cf78dc4acb18dc9149a57be4aee5036ce0",
"shasum": ""
},
"require": {
@@ -2659,7 +2722,7 @@
"x.509",
"x509"
],
- "time": "2018-04-15T16:55:05+00:00"
+ "time": "2019-03-10T16:53:45+00:00"
},
{
"name": "phpspec/prophecy",
@@ -2724,62 +2787,6 @@
],
"time": "2016-11-21T14:58:47+00:00"
},
- {
- "name": "pragmarx/google2fa",
- "version": "v5.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/antonioribeiro/google2fa.git",
- "reference": "17c969c82f427dd916afe4be50bafc6299aef1b4"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/antonioribeiro/google2fa/zipball/17c969c82f427dd916afe4be50bafc6299aef1b4",
- "reference": "17c969c82f427dd916afe4be50bafc6299aef1b4",
- "shasum": ""
- },
- "require": {
- "paragonie/constant_time_encoding": "~1.0|~2.0",
- "paragonie/random_compat": ">=1",
- "php": ">=5.4",
- "symfony/polyfill-php56": "~1.2"
- },
- "require-dev": {
- "phpunit/phpunit": "~4|~5|~6"
- },
- "type": "library",
- "extra": {
- "component": "package",
- "branch-alias": {
- "dev-master": "2.0-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "PragmaRX\\Google2FA\\": "src/",
- "PragmaRX\\Google2FA\\Tests\\": "tests/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Antonio Carlos Ribeiro",
- "email": "[email protected]",
- "role": "Creator & Designer"
- }
- ],
- "description": "A One Time Password Authentication package, compatible with Google Authenticator.",
- "keywords": [
- "2fa",
- "Authentication",
- "Two Factor Authentication",
- "google2fa"
- ],
- "time": "2019-03-19T22:44:16+00:00"
- },
{
"name": "predis/predis",
"version": "v1.1.1",
@@ -2882,16 +2889,16 @@
},
{
"name": "psr/log",
- "version": "1.0.2",
+ "version": "1.1.0",
"source": {
"type": "git",
"url": "https://github.com/php-fig/log.git",
- "reference": "4ebe3a8bf773a19edfe0a84b6585ba3d401b724d"
+ "reference": "6c001f1daafa3a3ac1d8ff69ee4db8e799a654dd"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/php-fig/log/zipball/4ebe3a8bf773a19edfe0a84b6585ba3d401b724d",
- "reference": "4ebe3a8bf773a19edfe0a84b6585ba3d401b724d",
+ "url": "https://api.github.com/repos/php-fig/log/zipball/6c001f1daafa3a3ac1d8ff69ee4db8e799a654dd",
+ "reference": "6c001f1daafa3a3ac1d8ff69ee4db8e799a654dd",
"shasum": ""
},
"require": {
@@ -2925,7 +2932,7 @@
"psr",
"psr-3"
],
- "time": "2016-10-10T12:19:37+00:00"
+ "time": "2018-11-20T15:27:04+00:00"
},
{
"name": "psy/psysh",
@@ -3001,6 +3008,46 @@
],
"time": "2018-10-13T15:16:03+00:00"
},
+ {
+ "name": "ralouphie/getallheaders",
+ "version": "2.0.5",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/ralouphie/getallheaders.git",
+ "reference": "5601c8a83fbba7ef674a7369456d12f1e0d0eafa"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/ralouphie/getallheaders/zipball/5601c8a83fbba7ef674a7369456d12f1e0d0eafa",
+ "reference": "5601c8a83fbba7ef674a7369456d12f1e0d0eafa",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=5.3"
+ },
+ "require-dev": {
+ "phpunit/phpunit": "~3.7.0",
+ "satooshi/php-coveralls": ">=1.0"
+ },
+ "type": "library",
+ "autoload": {
+ "files": [
+ "src/getallheaders.php"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Ralph Khattar",
+ "email": "[email protected]"
+ }
+ ],
+ "description": "A polyfill for getallheaders.",
+ "time": "2016-02-11T07:05:27+00:00"
+ },
{
"name": "ramsey/uuid",
"version": "3.8.0",
@@ -3085,27 +3132,26 @@
},
{
"name": "rollbar/rollbar",
- "version": "v1.6.3",
+ "version": "v1.7.5",
"source": {
"type": "git",
"url": "https://github.com/rollbar/rollbar-php.git",
- "reference": "149590adc3bd5ed1188c48f8159f257aa1bf2d19"
+ "reference": "b1b33ae00f0d3f28d351552a85a367a425456ad7"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/rollbar/rollbar-php/zipball/149590adc3bd5ed1188c48f8159f257aa1bf2d19",
- "reference": "149590adc3bd5ed1188c48f8159f257aa1bf2d19",
+ "url": "https://api.github.com/repos/rollbar/rollbar-php/zipball/b1b33ae00f0d3f28d351552a85a367a425456ad7",
+ "reference": "b1b33ae00f0d3f28d351552a85a367a425456ad7",
"shasum": ""
},
"require": {
"ext-curl": "*",
- "monolog/monolog": "^1.23",
"psr/log": "^1.0.1"
},
"require-dev": {
"codeclimate/php-test-reporter": "dev-master",
"mockery/mockery": "0.9.*",
- "monolog/monolog": "^1.23",
+ "monolog/monolog": "^1.24",
"packfire/php5.3-compat": "*",
"phpmd/phpmd": "@stable",
"phpunit/phpunit": "4.8.*",
@@ -3141,7 +3187,7 @@
"logging",
"monitoring"
],
- "time": "2018-09-06T21:34:17+00:00"
+ "time": "2019-03-04T08:56:09+00:00"
},
{
"name": "rollbar/rollbar-laravel",
@@ -3673,16 +3719,16 @@
},
{
"name": "symfony/console",
- "version": "v3.4.17",
+ "version": "v3.4.23",
"source": {
"type": "git",
"url": "https://github.com/symfony/console.git",
- "reference": "3b2b415d4c48fbefca7dc742aa0a0171bfae4e0b"
+ "reference": "71ce77f37af0c5ffb9590e43cc4f70e426945c5e"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/console/zipball/3b2b415d4c48fbefca7dc742aa0a0171bfae4e0b",
- "reference": "3b2b415d4c48fbefca7dc742aa0a0171bfae4e0b",
+ "url": "https://api.github.com/repos/symfony/console/zipball/71ce77f37af0c5ffb9590e43cc4f70e426945c5e",
+ "reference": "71ce77f37af0c5ffb9590e43cc4f70e426945c5e",
"shasum": ""
},
"require": {
@@ -3694,6 +3740,9 @@
"symfony/dependency-injection": "<3.4",
"symfony/process": "<3.3"
},
+ "provide": {
+ "psr/log-implementation": "1.0"
+ },
"require-dev": {
"psr/log": "~1.0",
"symfony/config": "~3.3|~4.0",
@@ -3703,7 +3752,7 @@
"symfony/process": "~3.3|~4.0"
},
"suggest": {
- "psr/log-implementation": "For using the console logger",
+ "psr/log": "For using the console logger",
"symfony/event-dispatcher": "",
"symfony/lock": "",
"symfony/process": ""
@@ -3738,7 +3787,7 @@
],
"description": "Symfony Console Component",
"homepage": "https://symfony.com",
- "time": "2018-10-02T16:33:53+00:00"
+ "time": "2019-02-23T15:06:07+00:00"
},
{
"name": "symfony/css-selector",
@@ -3795,16 +3844,16 @@
},
{
"name": "symfony/debug",
- "version": "v3.4.17",
+ "version": "v3.4.23",
"source": {
"type": "git",
"url": "https://github.com/symfony/debug.git",
- "reference": "0a612e9dfbd2ccce03eb174365f31ecdca930ff6"
+ "reference": "8d8a9e877b3fcdc50ddecf8dcea146059753f782"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/debug/zipball/0a612e9dfbd2ccce03eb174365f31ecdca930ff6",
- "reference": "0a612e9dfbd2ccce03eb174365f31ecdca930ff6",
+ "url": "https://api.github.com/repos/symfony/debug/zipball/8d8a9e877b3fcdc50ddecf8dcea146059753f782",
+ "reference": "8d8a9e877b3fcdc50ddecf8dcea146059753f782",
"shasum": ""
},
"require": {
@@ -3847,20 +3896,20 @@
],
"description": "Symfony Debug Component",
"homepage": "https://symfony.com",
- "time": "2018-10-02T16:33:53+00:00"
+ "time": "2019-02-24T15:45:11+00:00"
},
{
"name": "symfony/event-dispatcher",
- "version": "v3.4.17",
+ "version": "v3.4.23",
"source": {
"type": "git",
"url": "https://github.com/symfony/event-dispatcher.git",
- "reference": "b2e1f19280c09a42dc64c0b72b80fe44dd6e88fb"
+ "reference": "ec625e2fff7f584eeb91754821807317b2e79236"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/b2e1f19280c09a42dc64c0b72b80fe44dd6e88fb",
- "reference": "b2e1f19280c09a42dc64c0b72b80fe44dd6e88fb",
+ "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/ec625e2fff7f584eeb91754821807317b2e79236",
+ "reference": "ec625e2fff7f584eeb91754821807317b2e79236",
"shasum": ""
},
"require": {
@@ -3910,20 +3959,20 @@
],
"description": "Symfony EventDispatcher Component",
"homepage": "https://symfony.com",
- "time": "2018-07-26T09:06:28+00:00"
+ "time": "2019-02-23T15:06:07+00:00"
},
{
"name": "symfony/finder",
- "version": "v3.4.17",
+ "version": "v3.4.23",
"source": {
"type": "git",
"url": "https://github.com/symfony/finder.git",
- "reference": "54ba444dddc5bd5708a34bd095ea67c6eb54644d"
+ "reference": "fcdde4aa38f48190ce70d782c166f23930084f9b"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/finder/zipball/54ba444dddc5bd5708a34bd095ea67c6eb54644d",
- "reference": "54ba444dddc5bd5708a34bd095ea67c6eb54644d",
+ "url": "https://api.github.com/repos/symfony/finder/zipball/fcdde4aa38f48190ce70d782c166f23930084f9b",
+ "reference": "fcdde4aa38f48190ce70d782c166f23930084f9b",
"shasum": ""
},
"require": {
@@ -3959,20 +4008,20 @@
],
"description": "Symfony Finder Component",
"homepage": "https://symfony.com",
- "time": "2018-10-03T08:46:40+00:00"
+ "time": "2019-02-22T14:44:53+00:00"
},
{
"name": "symfony/http-foundation",
- "version": "v3.4.17",
+ "version": "v3.4.23",
"source": {
"type": "git",
"url": "https://github.com/symfony/http-foundation.git",
- "reference": "3a4498236ade473c52b92d509303e5fd1b211ab1"
+ "reference": "9a96d77ceb1fd913c9d4a89e8a7e1be87604be8a"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/http-foundation/zipball/3a4498236ade473c52b92d509303e5fd1b211ab1",
- "reference": "3a4498236ade473c52b92d509303e5fd1b211ab1",
+ "url": "https://api.github.com/repos/symfony/http-foundation/zipball/9a96d77ceb1fd913c9d4a89e8a7e1be87604be8a",
+ "reference": "9a96d77ceb1fd913c9d4a89e8a7e1be87604be8a",
"shasum": ""
},
"require": {
@@ -4013,26 +4062,26 @@
],
"description": "Symfony HttpFoundation Component",
"homepage": "https://symfony.com",
- "time": "2018-10-03T08:48:18+00:00"
+ "time": "2019-02-23T15:06:07+00:00"
},
{
"name": "symfony/http-kernel",
- "version": "v3.4.17",
+ "version": "v3.4.23",
"source": {
"type": "git",
"url": "https://github.com/symfony/http-kernel.git",
- "reference": "a0944a9a1d8845da724236cde9a310964acadb1c"
+ "reference": "0362368c761cb8d9c79e56ab0db61d2c692db594"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/http-kernel/zipball/a0944a9a1d8845da724236cde9a310964acadb1c",
- "reference": "a0944a9a1d8845da724236cde9a310964acadb1c",
+ "url": "https://api.github.com/repos/symfony/http-kernel/zipball/0362368c761cb8d9c79e56ab0db61d2c692db594",
+ "reference": "0362368c761cb8d9c79e56ab0db61d2c692db594",
"shasum": ""
},
"require": {
"php": "^5.5.9|>=7.0.8",
"psr/log": "~1.0",
- "symfony/debug": "~2.8|~3.0|~4.0",
+ "symfony/debug": "^3.3.3|~4.0",
"symfony/event-dispatcher": "~2.8|~3.0|~4.0",
"symfony/http-foundation": "~3.4.12|~4.0.12|^4.1.1",
"symfony/polyfill-ctype": "~1.8"
@@ -4102,11 +4151,11 @@
],
"description": "Symfony HttpKernel Component",
"homepage": "https://symfony.com",
- "time": "2018-10-03T12:03:34+00:00"
+ "time": "2019-03-03T18:52:34+00:00"
},
{
"name": "symfony/polyfill-ctype",
- "version": "v1.9.0",
+ "version": "v1.10.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/polyfill-ctype.git",
@@ -4164,16 +4213,16 @@
},
{
"name": "symfony/polyfill-mbstring",
- "version": "v1.9.0",
+ "version": "v1.10.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/polyfill-mbstring.git",
- "reference": "d0cd638f4634c16d8df4508e847f14e9e43168b8"
+ "reference": "c79c051f5b3a46be09205c73b80b346e4153e494"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/d0cd638f4634c16d8df4508e847f14e9e43168b8",
- "reference": "d0cd638f4634c16d8df4508e847f14e9e43168b8",
+ "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/c79c051f5b3a46be09205c73b80b346e4153e494",
+ "reference": "c79c051f5b3a46be09205c73b80b346e4153e494",
"shasum": ""
},
"require": {
@@ -4219,20 +4268,20 @@
"portable",
"shim"
],
- "time": "2018-08-06T14:22:27+00:00"
+ "time": "2018-09-21T13:07:52+00:00"
},
{
"name": "symfony/polyfill-php56",
- "version": "v1.9.0",
+ "version": "v1.10.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/polyfill-php56.git",
- "reference": "7b4fc009172cc0196535b0328bd1226284a28000"
+ "reference": "ff208829fe1aa48ab9af356992bb7199fed551af"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-php56/zipball/7b4fc009172cc0196535b0328bd1226284a28000",
- "reference": "7b4fc009172cc0196535b0328bd1226284a28000",
+ "url": "https://api.github.com/repos/symfony/polyfill-php56/zipball/ff208829fe1aa48ab9af356992bb7199fed551af",
+ "reference": "ff208829fe1aa48ab9af356992bb7199fed551af",
"shasum": ""
},
"require": {
@@ -4275,20 +4324,20 @@
"portable",
"shim"
],
- "time": "2018-08-06T14:22:27+00:00"
+ "time": "2018-09-21T06:26:08+00:00"
},
{
"name": "symfony/polyfill-php70",
- "version": "v1.9.0",
+ "version": "v1.10.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/polyfill-php70.git",
- "reference": "1e24b0c4a56d55aaf368763a06c6d1c7d3194934"
+ "reference": "6b88000cdd431cd2e940caa2cb569201f3f84224"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-php70/zipball/1e24b0c4a56d55aaf368763a06c6d1c7d3194934",
- "reference": "1e24b0c4a56d55aaf368763a06c6d1c7d3194934",
+ "url": "https://api.github.com/repos/symfony/polyfill-php70/zipball/6b88000cdd431cd2e940caa2cb569201f3f84224",
+ "reference": "6b88000cdd431cd2e940caa2cb569201f3f84224",
"shasum": ""
},
"require": {
@@ -4334,20 +4383,20 @@
"portable",
"shim"
],
- "time": "2018-08-06T14:22:27+00:00"
+ "time": "2018-09-21T06:26:08+00:00"
},
{
"name": "symfony/polyfill-util",
- "version": "v1.9.0",
+ "version": "v1.10.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/polyfill-util.git",
- "reference": "8e15d04ba3440984d23e7964b2ee1d25c8de1581"
+ "reference": "3b58903eae668d348a7126f999b0da0f2f93611c"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-util/zipball/8e15d04ba3440984d23e7964b2ee1d25c8de1581",
- "reference": "8e15d04ba3440984d23e7964b2ee1d25c8de1581",
+ "url": "https://api.github.com/repos/symfony/polyfill-util/zipball/3b58903eae668d348a7126f999b0da0f2f93611c",
+ "reference": "3b58903eae668d348a7126f999b0da0f2f93611c",
"shasum": ""
},
"require": {
@@ -4386,20 +4435,20 @@
"polyfill",
"shim"
],
- "time": "2018-08-06T14:22:27+00:00"
+ "time": "2018-09-30T16:36:12+00:00"
},
{
"name": "symfony/process",
- "version": "v3.4.17",
+ "version": "v3.4.23",
"source": {
"type": "git",
"url": "https://github.com/symfony/process.git",
- "reference": "1dc2977afa7d70f90f3fefbcd84152813558910e"
+ "reference": "009f8dda80930e89e8344a4e310b08f9ff07dd2e"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/process/zipball/1dc2977afa7d70f90f3fefbcd84152813558910e",
- "reference": "1dc2977afa7d70f90f3fefbcd84152813558910e",
+ "url": "https://api.github.com/repos/symfony/process/zipball/009f8dda80930e89e8344a4e310b08f9ff07dd2e",
+ "reference": "009f8dda80930e89e8344a4e310b08f9ff07dd2e",
"shasum": ""
},
"require": {
@@ -4435,20 +4484,20 @@
],
"description": "Symfony Process Component",
"homepage": "https://symfony.com",
- "time": "2018-10-02T12:28:39+00:00"
+ "time": "2019-01-16T13:27:11+00:00"
},
{
"name": "symfony/psr-http-message-bridge",
- "version": "v1.1.0",
+ "version": "v1.1.1",
"source": {
"type": "git",
"url": "https://github.com/symfony/psr-http-message-bridge.git",
- "reference": "53c15a6a7918e6c2ab16ae370ea607fb40cab196"
+ "reference": "921f8669c36ea0148d2520c0bb7838cda14879e0"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/psr-http-message-bridge/zipball/53c15a6a7918e6c2ab16ae370ea607fb40cab196",
- "reference": "53c15a6a7918e6c2ab16ae370ea607fb40cab196",
+ "url": "https://api.github.com/repos/symfony/psr-http-message-bridge/zipball/921f8669c36ea0148d2520c0bb7838cda14879e0",
+ "reference": "921f8669c36ea0148d2520c0bb7838cda14879e0",
"shasum": ""
},
"require": {
@@ -4457,12 +4506,11 @@
"symfony/http-foundation": "^2.3.42 || ^3.4 || ^4.0"
},
"require-dev": {
- "symfony/phpunit-bridge": "^3.4 || 4.0"
+ "nyholm/psr7": "^1.1",
+ "symfony/phpunit-bridge": "^3.4 || ^4.0"
},
"suggest": {
- "psr/http-factory-implementation": "To use the PSR-17 factory",
- "psr/http-message-implementation": "To use the HttpFoundation factory",
- "zendframework/zend-diactoros": "To use the Zend Diactoros factory"
+ "nyholm/psr7": "For a super lightweight PSR-7/17 implementation"
},
"type": "symfony-bridge",
"extra": {
@@ -4473,7 +4521,10 @@
"autoload": {
"psr-4": {
"Symfony\\Bridge\\PsrHttpMessage\\": ""
- }
+ },
+ "exclude-from-classmap": [
+ "/Tests/"
+ ]
},
"notification-url": "https://packagist.org/downloads/",
"license": [
@@ -4494,22 +4545,23 @@
"keywords": [
"http",
"http-message",
+ "psr-17",
"psr-7"
],
- "time": "2018-08-30T16:28:28+00:00"
+ "time": "2019-03-11T15:23:15+00:00"
},
{
"name": "symfony/routing",
- "version": "v3.4.17",
+ "version": "v3.4.23",
"source": {
"type": "git",
"url": "https://github.com/symfony/routing.git",
- "reference": "585f6e2d740393d546978769dd56e496a6233e0b"
+ "reference": "6b25a86df5860461ff1990946168c0ef944f83db"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/routing/zipball/585f6e2d740393d546978769dd56e496a6233e0b",
- "reference": "585f6e2d740393d546978769dd56e496a6233e0b",
+ "url": "https://api.github.com/repos/symfony/routing/zipball/6b25a86df5860461ff1990946168c0ef944f83db",
+ "reference": "6b25a86df5860461ff1990946168c0ef944f83db",
"shasum": ""
},
"require": {
@@ -4573,20 +4625,20 @@
"uri",
"url"
],
- "time": "2018-10-02T12:28:39+00:00"
+ "time": "2019-02-23T15:06:07+00:00"
},
{
"name": "symfony/translation",
- "version": "v3.4.17",
+ "version": "v3.4.23",
"source": {
"type": "git",
"url": "https://github.com/symfony/translation.git",
- "reference": "94bc3a79008e6640defedf5e14eb3b4f20048352"
+ "reference": "3e2966209567ffed8825905b53fc8548446130aa"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/translation/zipball/94bc3a79008e6640defedf5e14eb3b4f20048352",
- "reference": "94bc3a79008e6640defedf5e14eb3b4f20048352",
+ "url": "https://api.github.com/repos/symfony/translation/zipball/3e2966209567ffed8825905b53fc8548446130aa",
+ "reference": "3e2966209567ffed8825905b53fc8548446130aa",
"shasum": ""
},
"require": {
@@ -4641,20 +4693,20 @@
],
"description": "Symfony Translation Component",
"homepage": "https://symfony.com",
- "time": "2018-10-02T16:33:53+00:00"
+ "time": "2019-02-23T15:06:07+00:00"
},
{
"name": "symfony/var-dumper",
- "version": "v3.4.17",
+ "version": "v3.4.23",
"source": {
"type": "git",
"url": "https://github.com/symfony/var-dumper.git",
- "reference": "ff8ac19e97e5c7c3979236b584719a1190f84181"
+ "reference": "d34d10236300876d14291e9df85c6ef3d3bb9066"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/var-dumper/zipball/ff8ac19e97e5c7c3979236b584719a1190f84181",
- "reference": "ff8ac19e97e5c7c3979236b584719a1190f84181",
+ "url": "https://api.github.com/repos/symfony/var-dumper/zipball/d34d10236300876d14291e9df85c6ef3d3bb9066",
+ "reference": "d34d10236300876d14291e9df85c6ef3d3bb9066",
"shasum": ""
},
"require": {
@@ -4710,7 +4762,7 @@
"debug",
"dump"
],
- "time": "2018-10-02T16:33:53+00:00"
+ "time": "2019-02-23T15:06:07+00:00"
},
{
"name": "tecnickcom/tc-lib-barcode",
@@ -5024,20 +5076,21 @@
},
{
"name": "vlucas/phpdotenv",
- "version": "v2.5.1",
+ "version": "v2.6.1",
"source": {
"type": "git",
"url": "https://github.com/vlucas/phpdotenv.git",
- "reference": "8abb4f9aa89ddea9d52112c65bbe8d0125e2fa8e"
+ "reference": "2a7dcf7e3e02dc5e701004e51a6f304b713107d5"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/vlucas/phpdotenv/zipball/8abb4f9aa89ddea9d52112c65bbe8d0125e2fa8e",
- "reference": "8abb4f9aa89ddea9d52112c65bbe8d0125e2fa8e",
+ "url": "https://api.github.com/repos/vlucas/phpdotenv/zipball/2a7dcf7e3e02dc5e701004e51a6f304b713107d5",
+ "reference": "2a7dcf7e3e02dc5e701004e51a6f304b713107d5",
"shasum": ""
},
"require": {
- "php": ">=5.3.9"
+ "php": ">=5.3.9",
+ "symfony/polyfill-ctype": "^1.9"
},
"require-dev": {
"phpunit/phpunit": "^4.8.35 || ^5.0"
@@ -5045,7 +5098,7 @@
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "2.5-dev"
+ "dev-master": "2.6-dev"
}
},
"autoload": {
@@ -5070,33 +5123,33 @@
"env",
"environment"
],
- "time": "2018-07-29T20:33:41+00:00"
+ "time": "2019-01-29T11:11:52+00:00"
},
{
"name": "watson/validating",
- "version": "3.1.8",
+ "version": "3.2.0",
"source": {
"type": "git",
"url": "https://github.com/dwightwatson/validating.git",
- "reference": "ddb12d04de1a541961e1ca82837693382dfe8967"
+ "reference": "b8fa204e59d3a6766185f841b75d8ffa0c47a978"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/dwightwatson/validating/zipball/ddb12d04de1a541961e1ca82837693382dfe8967",
- "reference": "ddb12d04de1a541961e1ca82837693382dfe8967",
+ "url": "https://api.github.com/repos/dwightwatson/validating/zipball/b8fa204e59d3a6766185f841b75d8ffa0c47a978",
+ "reference": "b8fa204e59d3a6766185f841b75d8ffa0c47a978",
"shasum": ""
},
"require": {
- "illuminate/contracts": "5.3.* || 5.4.* || 5.5.* || 5.6.* || 5.7.*",
- "illuminate/database": "5.3.* || 5.4.* || 5.5.* || 5.6.* || 5.7.*",
- "illuminate/events": "5.3.* || 5.4.* || 5.5.* || 5.6.* || 5.7.*",
- "illuminate/support": "5.3.* || 5.4.* || 5.5.* || 5.6.* || 5.7.*",
- "illuminate/validation": "5.3.* || 5.4.* || 5.5.* || 5.6.* || 5.7.*",
- "php": ">=5.4.0"
+ "illuminate/contracts": ">= 5.4.0",
+ "illuminate/database": ">= 5.4.0",
+ "illuminate/events": ">= 5.4.0",
+ "illuminate/support": ">= 5.4.0",
+ "illuminate/validation": ">= 5.4.0",
+ "php": ">=5.6.4"
},
"require-dev": {
- "mockery/mockery": "0.9.*",
- "phpunit/phpunit": "~4.0"
+ "mockery/mockery": "~1.0",
+ "phpunit/phpunit": "~5.0"
},
"type": "library",
"autoload": {
@@ -5120,24 +5173,25 @@
"laravel",
"validation"
],
- "time": "2018-09-19T23:52:11+00:00"
+ "time": "2019-03-02T23:37:33+00:00"
},
{
"name": "webmozart/assert",
- "version": "1.3.0",
+ "version": "1.4.0",
"source": {
"type": "git",
"url": "https://github.com/webmozart/assert.git",
- "reference": "0df1908962e7a3071564e857d86874dad1ef204a"
+ "reference": "83e253c8e0be5b0257b881e1827274667c5c17a9"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/webmozart/assert/zipball/0df1908962e7a3071564e857d86874dad1ef204a",
- "reference": "0df1908962e7a3071564e857d86874dad1ef204a",
+ "url": "https://api.github.com/repos/webmozart/assert/zipball/83e253c8e0be5b0257b881e1827274667c5c17a9",
+ "reference": "83e253c8e0be5b0257b881e1827274667c5c17a9",
"shasum": ""
},
"require": {
- "php": "^5.3.3 || ^7.0"
+ "php": "^5.3.3 || ^7.0",
+ "symfony/polyfill-ctype": "^1.8"
},
"require-dev": {
"phpunit/phpunit": "^4.6",
@@ -5170,7 +5224,7 @@
"check",
"validate"
],
- "time": "2018-01-29T19:49:41+00:00"
+ "time": "2018-12-25T11:19:39+00:00"
},
{
"name": "zendframework/zend-diactoros",
@@ -5297,60 +5351,6 @@
],
"time": "2016-10-30T11:50:56+00:00"
},
- {
- "name": "christian-riesen/base32",
- "version": "1.3.1",
- "source": {
- "type": "git",
- "url": "https://github.com/ChristianRiesen/base32.git",
- "reference": "0a31e50c0fa9b1692d077c86ac188eecdcbaf7fa"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/ChristianRiesen/base32/zipball/0a31e50c0fa9b1692d077c86ac188eecdcbaf7fa",
- "reference": "0a31e50c0fa9b1692d077c86ac188eecdcbaf7fa",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "require-dev": {
- "phpunit/phpunit": "4.*",
- "satooshi/php-coveralls": "0.*"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.1.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Base32\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Christian Riesen",
- "email": "[email protected]",
- "homepage": "http://christianriesen.com",
- "role": "Developer"
- }
- ],
- "description": "Base32 encoder/decoder according to RFC 4648",
- "homepage": "https://github.com/ChristianRiesen/base32",
- "keywords": [
- "base32",
- "decode",
- "encode",
- "rfc4648"
- ],
- "time": "2016-05-05T11:49:03+00:00"
- },
{
"name": "codeception/codeception",
"version": "2.3.6",
@@ -6270,16 +6270,16 @@
},
{
"name": "squizlabs/php_codesniffer",
- "version": "3.3.2",
+ "version": "3.4.1",
"source": {
"type": "git",
"url": "https://github.com/squizlabs/PHP_CodeSniffer.git",
- "reference": "6ad28354c04b364c3c71a34e4a18b629cc3b231e"
+ "reference": "5b4333b4010625d29580eb4a41f1e53251be6baa"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/6ad28354c04b364c3c71a34e4a18b629cc3b231e",
- "reference": "6ad28354c04b364c3c71a34e4a18b629cc3b231e",
+ "url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/5b4333b4010625d29580eb4a41f1e53251be6baa",
+ "reference": "5b4333b4010625d29580eb4a41f1e53251be6baa",
"shasum": ""
},
"require": {
@@ -6312,12 +6312,12 @@
}
],
"description": "PHP_CodeSniffer tokenizes PHP, JavaScript and CSS files and detects violations of a defined set of coding standards.",
- "homepage": "http://www.squizlabs.com/php-codesniffer",
+ "homepage": "https://github.com/squizlabs/PHP_CodeSniffer",
"keywords": [
"phpcs",
"standards"
],
- "time": "2018-09-23T23:08:17+00:00"
+ "time": "2019-03-19T03:22:27+00:00"
},
{
"name": "stecman/symfony-console-completion",
@@ -6366,16 +6366,16 @@
},
{
"name": "symfony/browser-kit",
- "version": "v3.4.17",
+ "version": "v3.4.23",
"source": {
"type": "git",
"url": "https://github.com/symfony/browser-kit.git",
- "reference": "f6668d1a6182d5a8dec65a1c863a4c1d963816c0"
+ "reference": "c0fadd368c1031109e996316e53ffeb886d37ea1"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/browser-kit/zipball/f6668d1a6182d5a8dec65a1c863a4c1d963816c0",
- "reference": "f6668d1a6182d5a8dec65a1c863a4c1d963816c0",
+ "url": "https://api.github.com/repos/symfony/browser-kit/zipball/c0fadd368c1031109e996316e53ffeb886d37ea1",
+ "reference": "c0fadd368c1031109e996316e53ffeb886d37ea1",
"shasum": ""
},
"require": {
@@ -6419,7 +6419,7 @@
],
"description": "Symfony BrowserKit Component",
"homepage": "https://symfony.com",
- "time": "2018-07-26T09:06:28+00:00"
+ "time": "2019-02-23T15:06:07+00:00"
},
{
"name": "symfony/dom-crawler",
@@ -6479,16 +6479,16 @@
},
{
"name": "symfony/yaml",
- "version": "v3.4.17",
+ "version": "v3.4.23",
"source": {
"type": "git",
"url": "https://github.com/symfony/yaml.git",
- "reference": "640b6c27fed4066d64b64d5903a86043f4a4de7f"
+ "reference": "57f1ce82c997f5a8701b89ef970e36bb657fd09c"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/yaml/zipball/640b6c27fed4066d64b64d5903a86043f4a4de7f",
- "reference": "640b6c27fed4066d64b64d5903a86043f4a4de7f",
+ "url": "https://api.github.com/repos/symfony/yaml/zipball/57f1ce82c997f5a8701b89ef970e36bb657fd09c",
+ "reference": "57f1ce82c997f5a8701b89ef970e36bb657fd09c",
"shasum": ""
},
"require": {
@@ -6534,7 +6534,7 @@
],
"description": "Symfony Yaml Component",
"homepage": "https://symfony.com",
- "time": "2018-10-02T16:33:53+00:00"
+ "time": "2019-02-23T15:06:07+00:00"
}
],
"aliases": [],
diff --git a/config/app.php b/config/app.php
index 73091160c5..61d48801f2 100755
--- a/config/app.php
+++ b/config/app.php
@@ -291,7 +291,6 @@ return [
Collective\Html\HtmlServiceProvider::class,
Spatie\Backup\BackupServiceProvider::class,
Fideloper\Proxy\TrustedProxyServiceProvider::class,
- PragmaRX\Google2FA\Vendor\Laravel\ServiceProvider::class,
Laravel\Passport\PassportServiceProvider::class,
Laravel\Tinker\TinkerServiceProvider::class,
Unicodeveloper\DumbPassword\DumbPasswordServiceProvider::class,
@@ -366,7 +365,6 @@ return [
'Input' => Illuminate\Support\Facades\Input::class,
'Form' => Collective\Html\FormFacade::class,
'Html' => Collective\Html\HtmlFacade::class,
- 'Google2FA' => PragmaRX\Google2FA\Vendor\Laravel\Facade::class,
'Debugbar' => Barryvdh\Debugbar\Facade::class,
'Image' => Intervention\Image\ImageManagerStatic::class,
'Carbon' => Carbon\Carbon::class,
diff --git a/resources/views/auth/two_factor_enroll.blade.php b/resources/views/auth/two_factor_enroll.blade.php
index 1fe9c89c9b..18003a5d73 100644
--- a/resources/views/auth/two_factor_enroll.blade.php
+++ b/resources/views/auth/two_factor_enroll.blade.php
@@ -28,7 +28,7 @@
</div>
<div class="col-md-12 text-center">
- <img src="{{ $google2fa_url }}" style="padding: 15px 0px 15px 0px">
+ {!! $barcode_obj->getHtmlDiv() !!}
</div>
</div>