Add instruction from #101

This commit is contained in:
Will Browning 2020-11-27 10:41:17 +00:00
parent f1d5963dfd
commit 47f7ada2a6
4 changed files with 190 additions and 113 deletions

View file

@ -871,6 +871,7 @@ php artisan route:cache
php artisan queue:restart php artisan queue:restart
php artisan passport:install php artisan passport:install
php artisan passport:keys
``` ```
Running `passport:install` will output details about a new personal access client, e.g. Running `passport:install` will output details about a new personal access client, e.g.

290
composer.lock generated
View file

@ -1024,26 +1024,29 @@
}, },
{ {
"name": "dragonmantank/cron-expression", "name": "dragonmantank/cron-expression",
"version": "v3.0.2", "version": "v3.1.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/dragonmantank/cron-expression.git", "url": "https://github.com/dragonmantank/cron-expression.git",
"reference": "48212cdc0a79051d50d7fc2f0645c5a321caf926" "reference": "7a8c6e56ab3ffcc538d05e8155bb42269abf1a0c"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/dragonmantank/cron-expression/zipball/48212cdc0a79051d50d7fc2f0645c5a321caf926", "url": "https://api.github.com/repos/dragonmantank/cron-expression/zipball/7a8c6e56ab3ffcc538d05e8155bb42269abf1a0c",
"reference": "48212cdc0a79051d50d7fc2f0645c5a321caf926", "reference": "7a8c6e56ab3ffcc538d05e8155bb42269abf1a0c",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"php": "^7.1|^8.0" "php": "^7.2|^8.0",
"webmozart/assert": "^1.7.0"
}, },
"replace": { "replace": {
"mtdowling/cron-expression": "^1.0" "mtdowling/cron-expression": "^1.0"
}, },
"require-dev": { "require-dev": {
"phpstan/phpstan": "^0.11|^0.12", "phpstan/extension-installer": "^1.0",
"phpstan/phpstan": "^0.12",
"phpstan/phpstan-webmozart-assert": "^0.12.7",
"phpunit/phpunit": "^7.0|^8.0|^9.0" "phpunit/phpunit": "^7.0|^8.0|^9.0"
}, },
"type": "library", "type": "library",
@ -1070,7 +1073,7 @@
], ],
"support": { "support": {
"issues": "https://github.com/dragonmantank/cron-expression/issues", "issues": "https://github.com/dragonmantank/cron-expression/issues",
"source": "https://github.com/dragonmantank/cron-expression/tree/v3.0.2" "source": "https://github.com/dragonmantank/cron-expression/tree/v3.1.0"
}, },
"funding": [ "funding": [
{ {
@ -1078,7 +1081,7 @@
"type": "github" "type": "github"
} }
], ],
"time": "2020-10-13T01:26:01+00:00" "time": "2020-11-24T19:55:57+00:00"
}, },
{ {
"name": "egulias/email-validator", "name": "egulias/email-validator",
@ -1786,16 +1789,16 @@
}, },
{ {
"name": "laravel/framework", "name": "laravel/framework",
"version": "v8.15.0", "version": "v8.16.1",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/laravel/framework.git", "url": "https://github.com/laravel/framework.git",
"reference": "22e4182fa0885dea3772106c3b6df705b7c7363e" "reference": "f7dfc22e6c42e9ed4dda14c05814349af6943206"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/laravel/framework/zipball/22e4182fa0885dea3772106c3b6df705b7c7363e", "url": "https://api.github.com/repos/laravel/framework/zipball/f7dfc22e6c42e9ed4dda14c05814349af6943206",
"reference": "22e4182fa0885dea3772106c3b6df705b7c7363e", "reference": "f7dfc22e6c42e9ed4dda14c05814349af6943206",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -1868,7 +1871,7 @@
"illuminate/view": "self.version" "illuminate/view": "self.version"
}, },
"require-dev": { "require-dev": {
"aws/aws-sdk-php": "^3.0", "aws/aws-sdk-php": "^3.155",
"doctrine/dbal": "^2.6|^3.0", "doctrine/dbal": "^2.6|^3.0",
"filp/whoops": "^2.8", "filp/whoops": "^2.8",
"guzzlehttp/guzzle": "^6.5.5|^7.0.1", "guzzlehttp/guzzle": "^6.5.5|^7.0.1",
@ -1881,7 +1884,7 @@
"symfony/cache": "^5.1" "symfony/cache": "^5.1"
}, },
"suggest": { "suggest": {
"aws/aws-sdk-php": "Required to use the SQS queue driver, DynamoDb failed job storage and SES mail driver (^3.0).", "aws/aws-sdk-php": "Required to use the SQS queue driver, DynamoDb failed job storage and SES mail driver (^3.155).",
"doctrine/dbal": "Required to rename columns and drop SQLite columns (^2.6|^3.0).", "doctrine/dbal": "Required to rename columns and drop SQLite columns (^2.6|^3.0).",
"ext-ftp": "Required to use the Flysystem FTP driver.", "ext-ftp": "Required to use the Flysystem FTP driver.",
"ext-gd": "Required to use Illuminate\\Http\\Testing\\FileFactory::image().", "ext-gd": "Required to use Illuminate\\Http\\Testing\\FileFactory::image().",
@ -1949,20 +1952,20 @@
"issues": "https://github.com/laravel/framework/issues", "issues": "https://github.com/laravel/framework/issues",
"source": "https://github.com/laravel/framework" "source": "https://github.com/laravel/framework"
}, },
"time": "2020-11-17T14:53:20+00:00" "time": "2020-11-25T15:01:02+00:00"
}, },
{ {
"name": "laravel/passport", "name": "laravel/passport",
"version": "v10.0.1", "version": "v10.1.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/laravel/passport.git", "url": "https://github.com/laravel/passport.git",
"reference": "4e53f1b237a9e51ac10f0b30c6ebedd68f6848ab" "reference": "c2b93a7d8d93cf303bb1eefbfa5610f084f9bdd4"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/laravel/passport/zipball/4e53f1b237a9e51ac10f0b30c6ebedd68f6848ab", "url": "https://api.github.com/repos/laravel/passport/zipball/c2b93a7d8d93cf303bb1eefbfa5610f084f9bdd4",
"reference": "4e53f1b237a9e51ac10f0b30c6ebedd68f6848ab", "reference": "c2b93a7d8d93cf303bb1eefbfa5610f084f9bdd4",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -1977,9 +1980,10 @@
"illuminate/encryption": "^8.2", "illuminate/encryption": "^8.2",
"illuminate/http": "^8.2", "illuminate/http": "^8.2",
"illuminate/support": "^8.2", "illuminate/support": "^8.2",
"league/oauth2-server": "^8.1", "lcobucci/jwt": "^3.4|^4.0",
"league/oauth2-server": "^8.2",
"nyholm/psr7": "^1.3", "nyholm/psr7": "^1.3",
"php": "^7.3", "php": "^7.3|^8.0",
"phpseclib/phpseclib": "^2.0", "phpseclib/phpseclib": "^2.0",
"symfony/psr-http-message-bridge": "^2.0" "symfony/psr-http-message-bridge": "^2.0"
}, },
@ -2025,7 +2029,7 @@
"issues": "https://github.com/laravel/passport/issues", "issues": "https://github.com/laravel/passport/issues",
"source": "https://github.com/laravel/passport" "source": "https://github.com/laravel/passport"
}, },
"time": "2020-09-15T16:41:42+00:00" "time": "2020-11-26T07:57:30+00:00"
}, },
{ {
"name": "laravel/tinker", "name": "laravel/tinker",
@ -2154,35 +2158,103 @@
"time": "2020-11-03T19:51:21+00:00" "time": "2020-11-03T19:51:21+00:00"
}, },
{ {
"name": "lcobucci/jwt", "name": "lcobucci/clock",
"version": "3.3.3", "version": "2.0.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/lcobucci/jwt.git", "url": "https://github.com/lcobucci/clock.git",
"reference": "c1123697f6a2ec29162b82f170dd4a491f524773" "reference": "353d83fe2e6ae95745b16b3d911813df6a05bfb3"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/lcobucci/jwt/zipball/c1123697f6a2ec29162b82f170dd4a491f524773", "url": "https://api.github.com/repos/lcobucci/clock/zipball/353d83fe2e6ae95745b16b3d911813df6a05bfb3",
"reference": "c1123697f6a2ec29162b82f170dd4a491f524773", "reference": "353d83fe2e6ae95745b16b3d911813df6a05bfb3",
"shasum": ""
},
"require": {
"php": "^7.4 || ^8.0"
},
"require-dev": {
"infection/infection": "^0.17",
"lcobucci/coding-standard": "^6.0",
"phpstan/extension-installer": "^1.0",
"phpstan/phpstan": "^0.12",
"phpstan/phpstan-deprecation-rules": "^0.12",
"phpstan/phpstan-phpunit": "^0.12",
"phpstan/phpstan-strict-rules": "^0.12",
"phpunit/php-code-coverage": "9.1.4",
"phpunit/phpunit": "9.3.7"
},
"type": "library",
"autoload": {
"psr-4": {
"Lcobucci\\Clock\\": "src"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Luís Cobucci",
"email": "lcobucci@gmail.com"
}
],
"description": "Yet another clock abstraction",
"support": {
"issues": "https://github.com/lcobucci/clock/issues",
"source": "https://github.com/lcobucci/clock/tree/2.0.x"
},
"funding": [
{
"url": "https://github.com/lcobucci",
"type": "github"
},
{
"url": "https://www.patreon.com/lcobucci",
"type": "patreon"
}
],
"time": "2020-08-27T18:56:02+00:00"
},
{
"name": "lcobucci/jwt",
"version": "4.0.0",
"source": {
"type": "git",
"url": "https://github.com/lcobucci/jwt.git",
"reference": "6d8665ccd924dc076a9b65d1ea8abe21d68f6958"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/lcobucci/jwt/zipball/6d8665ccd924dc076a9b65d1ea8abe21d68f6958",
"reference": "6d8665ccd924dc076a9b65d1ea8abe21d68f6958",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"ext-mbstring": "*", "ext-mbstring": "*",
"ext-openssl": "*", "ext-openssl": "*",
"php": "^5.6 || ^7.0" "lcobucci/clock": "^2.0",
"php": "^7.4 || ^8.0"
}, },
"require-dev": { "require-dev": {
"mikey179/vfsstream": "~1.5", "infection/infection": "^0.20",
"phpmd/phpmd": "~2.2", "lcobucci/coding-standard": "^6.0",
"phpunit/php-invoker": "~1.1", "mikey179/vfsstream": "^1.6",
"phpunit/phpunit": "^5.7 || ^7.3", "phpbench/phpbench": "^0.17",
"squizlabs/php_codesniffer": "~2.3" "phpstan/extension-installer": "^1.0",
"phpstan/phpstan": "^0.12",
"phpstan/phpstan-deprecation-rules": "^0.12",
"phpstan/phpstan-phpunit": "^0.12",
"phpstan/phpstan-strict-rules": "^0.12",
"phpunit/php-invoker": "^3.1",
"phpunit/phpunit": "^9.4"
}, },
"type": "library", "type": "library",
"extra": { "extra": {
"branch-alias": { "branch-alias": {
"dev-master": "3.1-dev" "dev-master": "4.0-dev"
} }
}, },
"autoload": { "autoload": {
@ -2196,7 +2268,7 @@
], ],
"authors": [ "authors": [
{ {
"name": "Luís Otávio Cobucci Oblonczyk", "name": "Luís Cobucci",
"email": "lcobucci@gmail.com", "email": "lcobucci@gmail.com",
"role": "Developer" "role": "Developer"
} }
@ -2208,7 +2280,7 @@
], ],
"support": { "support": {
"issues": "https://github.com/lcobucci/jwt/issues", "issues": "https://github.com/lcobucci/jwt/issues",
"source": "https://github.com/lcobucci/jwt/tree/3.3.3" "source": "https://github.com/lcobucci/jwt/tree/4.0.0"
}, },
"funding": [ "funding": [
{ {
@ -2220,7 +2292,7 @@
"type": "patreon" "type": "patreon"
} }
], ],
"time": "2020-08-20T13:22:28+00:00" "time": "2020-11-25T02:06:12+00:00"
}, },
{ {
"name": "league/commonmark", "name": "league/commonmark",
@ -2529,25 +2601,25 @@
}, },
{ {
"name": "league/oauth2-server", "name": "league/oauth2-server",
"version": "8.1.1", "version": "8.2.1",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/thephpleague/oauth2-server.git", "url": "https://github.com/thephpleague/oauth2-server.git",
"reference": "09f22e8121fa1832962dba18213b80d4267ef8a3" "reference": "284c2b5125ac71c6564e96d6e3c2d6eef3a1ae24"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/thephpleague/oauth2-server/zipball/09f22e8121fa1832962dba18213b80d4267ef8a3", "url": "https://api.github.com/repos/thephpleague/oauth2-server/zipball/284c2b5125ac71c6564e96d6e3c2d6eef3a1ae24",
"reference": "09f22e8121fa1832962dba18213b80d4267ef8a3", "reference": "284c2b5125ac71c6564e96d6e3c2d6eef3a1ae24",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"defuse/php-encryption": "^2.2.1", "defuse/php-encryption": "^2.2.1",
"ext-json": "*", "ext-json": "*",
"ext-openssl": "*", "ext-openssl": "*",
"lcobucci/jwt": "^3.3.1", "lcobucci/jwt": "^3.4 || ^4.0",
"league/event": "^2.2", "league/event": "^2.2",
"php": ">=7.2.0", "php": "^7.3 || ^8.0",
"psr/http-message": "^1.0.1" "psr/http-message": "^1.0.1"
}, },
"replace": { "replace": {
@ -2555,10 +2627,10 @@
"lncd/oauth2": "*" "lncd/oauth2": "*"
}, },
"require-dev": { "require-dev": {
"laminas/laminas-diactoros": "^2.3.0", "laminas/laminas-diactoros": "^2.5.0",
"phpstan/phpstan": "^0.11.19", "phpstan/phpstan": "^0.12.57",
"phpstan/phpstan-phpunit": "^0.11.2", "phpstan/phpstan-phpunit": "^0.12.16",
"phpunit/phpunit": "^8.5.4 || ^9.1.3", "phpunit/phpunit": "^9.4.3",
"roave/security-advisories": "dev-master" "roave/security-advisories": "dev-master"
}, },
"type": "library", "type": "library",
@ -2604,7 +2676,7 @@
], ],
"support": { "support": {
"issues": "https://github.com/thephpleague/oauth2-server/issues", "issues": "https://github.com/thephpleague/oauth2-server/issues",
"source": "https://github.com/thephpleague/oauth2-server/tree/8.1.1" "source": "https://github.com/thephpleague/oauth2-server/tree/8.2.1"
}, },
"funding": [ "funding": [
{ {
@ -2612,7 +2684,7 @@
"type": "github" "type": "github"
} }
], ],
"time": "2020-07-01T11:33:50+00:00" "time": "2020-11-26T11:18:21+00:00"
}, },
{ {
"name": "league/uri", "name": "league/uri",
@ -8814,6 +8886,59 @@
} }
], ],
"time": "2020-08-01T11:48:26+00:00" "time": "2020-08-01T11:48:26+00:00"
},
{
"name": "webmozart/assert",
"version": "1.9.1",
"source": {
"type": "git",
"url": "https://github.com/webmozart/assert.git",
"reference": "bafc69caeb4d49c39fd0779086c03a3738cbb389"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/webmozart/assert/zipball/bafc69caeb4d49c39fd0779086c03a3738cbb389",
"reference": "bafc69caeb4d49c39fd0779086c03a3738cbb389",
"shasum": ""
},
"require": {
"php": "^5.3.3 || ^7.0 || ^8.0",
"symfony/polyfill-ctype": "^1.8"
},
"conflict": {
"phpstan/phpstan": "<0.12.20",
"vimeo/psalm": "<3.9.1"
},
"require-dev": {
"phpunit/phpunit": "^4.8.36 || ^7.5.13"
},
"type": "library",
"autoload": {
"psr-4": {
"Webmozart\\Assert\\": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Bernhard Schussek",
"email": "bschussek@gmail.com"
}
],
"description": "Assertions to validate method input/output with nice error messages.",
"keywords": [
"assert",
"check",
"validate"
],
"support": {
"issues": "https://github.com/webmozart/assert/issues",
"source": "https://github.com/webmozart/assert/tree/master"
},
"time": "2020-07-08T17:02:28+00:00"
} }
], ],
"packages-dev": [ "packages-dev": [
@ -10248,16 +10373,16 @@
}, },
{ {
"name": "phpunit/php-code-coverage", "name": "phpunit/php-code-coverage",
"version": "9.2.3", "version": "9.2.4",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/sebastianbergmann/php-code-coverage.git", "url": "https://github.com/sebastianbergmann/php-code-coverage.git",
"reference": "6b20e2055f7c29b56cb3870b3de7cc463d7add41" "reference": "0a7f0acf9269c190fd982b5c04423feae986b6e0"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/6b20e2055f7c29b56cb3870b3de7cc463d7add41", "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/0a7f0acf9269c190fd982b5c04423feae986b6e0",
"reference": "6b20e2055f7c29b56cb3870b3de7cc463d7add41", "reference": "0a7f0acf9269c190fd982b5c04423feae986b6e0",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -10313,7 +10438,7 @@
], ],
"support": { "support": {
"issues": "https://github.com/sebastianbergmann/php-code-coverage/issues", "issues": "https://github.com/sebastianbergmann/php-code-coverage/issues",
"source": "https://github.com/sebastianbergmann/php-code-coverage/tree/9.2.3" "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/9.2.4"
}, },
"funding": [ "funding": [
{ {
@ -10321,7 +10446,7 @@
"type": "github" "type": "github"
} }
], ],
"time": "2020-10-30T10:46:41+00:00" "time": "2020-11-27T06:15:15+00:00"
}, },
{ {
"name": "phpunit/php-file-iterator", "name": "phpunit/php-file-iterator",
@ -11940,59 +12065,6 @@
} }
], ],
"time": "2020-07-12T23:59:07+00:00" "time": "2020-07-12T23:59:07+00:00"
},
{
"name": "webmozart/assert",
"version": "1.9.1",
"source": {
"type": "git",
"url": "https://github.com/webmozart/assert.git",
"reference": "bafc69caeb4d49c39fd0779086c03a3738cbb389"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/webmozart/assert/zipball/bafc69caeb4d49c39fd0779086c03a3738cbb389",
"reference": "bafc69caeb4d49c39fd0779086c03a3738cbb389",
"shasum": ""
},
"require": {
"php": "^5.3.3 || ^7.0 || ^8.0",
"symfony/polyfill-ctype": "^1.8"
},
"conflict": {
"phpstan/phpstan": "<0.12.20",
"vimeo/psalm": "<3.9.1"
},
"require-dev": {
"phpunit/phpunit": "^4.8.36 || ^7.5.13"
},
"type": "library",
"autoload": {
"psr-4": {
"Webmozart\\Assert\\": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Bernhard Schussek",
"email": "bschussek@gmail.com"
}
],
"description": "Assertions to validate method input/output with nice error messages.",
"keywords": [
"assert",
"check",
"validate"
],
"support": {
"issues": "https://github.com/webmozart/assert/issues",
"source": "https://github.com/webmozart/assert/tree/master"
},
"time": "2020-07-08T17:02:28+00:00"
} }
], ],
"aliases": [], "aliases": [],

View file

@ -4,10 +4,10 @@ current:
label: v label: v
major: 0 major: 0
minor: 6 minor: 6
patch: 0 patch: 1
prerelease: 2-g2bfc353 prerelease: ''
buildmetadata: '' buildmetadata: ''
commit: 2bfc35 commit: f1d596
timestamp: timestamp:
year: 2020 year: 2020
month: 10 month: 10

View file

@ -48,10 +48,14 @@
> >
Remove U2F Device Remove U2F Device
</h2> </h2>
<p class="my-4 text-grey-700"> <p v-if="keys.length === 1" class="my-4 text-grey-700">
Once this device is removed, <b>Two-Factor Authentication</b> will be disabled on your Once this device is removed, <b>Two-Factor Authentication</b> will be disabled on your
account. account.
</p> </p>
<p v-else class="my-4 text-grey-700">
Once this device is removed, <b>Two-Factor Authentication</b> will still be enabled as you
have other U2F devices associated with your account.
</p>
<div class="mt-6"> <div class="mt-6">
<button <button
@click="remove" @click="remove"