Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
L
Liman MYS - Çekirdek
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
liman
Liman MYS - Çekirdek
Commits
6f15de8f
Kaydet (Commit)
6f15de8f
authored
Mar 06, 2021
tarafından
Baran Sekin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Implemented login throttling
üst
d1c513d7
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
37 additions
and
1 deletion
+37
-1
LoginController.php
app/Http/Controllers/Auth/LoginController.php
+4
-0
cache.php
config/cache.php
+1
-1
2021_03_06_031414_create_cache_table.php
database/migrations/2021_03_06_031414_create_cache_table.php
+32
-0
No files found.
app/Http/Controllers/Auth/LoginController.php
Dosyayı görüntüle @
6f15de8f
...
...
@@ -22,6 +22,10 @@ class LoginController extends Controller
*/
protected
$redirectTo
=
'/'
;
protected
$maxAttempts
=
5
;
protected
$decayMinutes
=
10
;
/**
* LoginController constructor.
*/
...
...
config/cache.php
Dosyayı görüntüle @
6f15de8f
...
...
@@ -16,7 +16,7 @@ return [
|
*/
'default'
=>
env
(
'CACHE_DRIVER'
,
'
array
'
),
'default'
=>
env
(
'CACHE_DRIVER'
,
'
database
'
),
/*
|--------------------------------------------------------------------------
...
...
database/migrations/2021_03_06_031414_create_cache_table.php
0 → 100644
Dosyayı görüntüle @
6f15de8f
<?php
use
Illuminate\Database\Migrations\Migration
;
use
Illuminate\Database\Schema\Blueprint
;
use
Illuminate\Support\Facades\Schema
;
class
CreateCacheTable
extends
Migration
{
/**
* Run the migrations.
*
* @return void
*/
public
function
up
()
{
Schema
::
create
(
'cache'
,
function
(
Blueprint
$table
)
{
$table
->
string
(
'key'
)
->
unique
();
$table
->
mediumText
(
'value'
);
$table
->
integer
(
'expiration'
);
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public
function
down
()
{
Schema
::
dropIfExists
(
'cache'
);
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment