Skip to content

Commit d6d1626

Browse files
committed
Upgrade to Laraguard 3.0
1 parent 3a158a8 commit d6d1626

File tree

4 files changed

+17
-18
lines changed

4 files changed

+17
-18
lines changed

CHANGELOG.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ All notable changes to this project will be documented in this file.
33

44
## [Unreleased]
55

6-
## [8.0.4] - 2021-04-05
6+
## [8.1.0] - 2021-04-05
77

88
### Added
99

@@ -13,6 +13,7 @@ All notable changes to this project will be documented in this file.
1313

1414
- Updated locks
1515
- Update to Laravel commit: 5808129a1f702f973c7c31203d16db2066bd9030
16+
- Upgraded to Laraguard 3.0
1617

1718
## [8.0.3] - 2021-02-20
1819

@@ -434,8 +435,8 @@ Started from scratch with a blank Laravel 7.* installation. This release is not
434435
- Fix yarn tests
435436
- Fix: Socially logged in users get assigned the default role
436437

437-
[Unreleased]: https://github.com/rappasoft/laravel-boilerplate/compare/v8.0.4...development
438-
[8.0.4]: https://github.com/rappasoft/laravel-boilerplate/compare/v8.0.3...v8.0.4
438+
[Unreleased]: https://github.com/rappasoft/laravel-boilerplate/compare/v8.1.0...development
439+
[8.1.0]: https://github.com/rappasoft/laravel-boilerplate/compare/v8.0.3...v8.1.0
439440
[8.0.3]: https://github.com/rappasoft/laravel-boilerplate/compare/v8.0.2...v8.0.3
440441
[8.0.2]: https://github.com/rappasoft/laravel-boilerplate/compare/v8.0.1...v8.0.2
441442
[8.0.1]: https://github.com/rappasoft/laravel-boilerplate/compare/v8.0.0...v8.0.1

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99
],
1010
"license": "MIT",
1111
"require": {
12-
"php": "^7.3|^8.0",
12+
"php": "^7.4|^8.0",
1313
"arcanedev/log-viewer": "8.x",
14-
"darkghosthunter/laraguard": "dev-master",
14+
"darkghosthunter/laraguard": "^3.0",
1515
"fideloper/proxy": "^4.4",
1616
"fruitcake/laravel-cors": "^2.0",
1717
"guzzlehttp/guzzle": "^7.0.1",

composer.lock

Lines changed: 8 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

database/migrations/2020_10_19_204342_create_two_factor_authentications_table.php renamed to database/migrations/2021_04_05_153840_create_two_factor_authentications_table.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?php
22

3-
use Illuminate\Database\Migrations\Migration;
4-
use Illuminate\Database\Schema\Blueprint;
53
use Illuminate\Support\Facades\Schema;
4+
use Illuminate\Database\Schema\Blueprint;
5+
use Illuminate\Database\Migrations\Migration;
66

77
class CreateTwoFactorAuthenticationsTable extends Migration
88
{
@@ -16,7 +16,7 @@ public function up()
1616
Schema::create('two_factor_authentications', function (Blueprint $table) {
1717
$table->bigIncrements('id');
1818
$table->morphs('authenticatable', '2fa_auth_type_auth_id_index');
19-
$table->binary('shared_secret');
19+
$table->string('shared_secret');
2020
$table->timestampTz('enabled_at')->nullable();
2121
$table->string('label');
2222
$table->unsignedTinyInteger('digits')->default(6);

0 commit comments

Comments
 (0)