mirror of
https://github.com/pelican-dev/panel.git
synced 2025-05-19 19:54:45 +02:00

* rework oauth provider creation & lodaing * add separate setup form * use wizard for setup * add provider class for discord * cleanup and fixes * don't throw exception when creating duplicate provider * update profile and login pages * did not mean to remove the whole else, oops * use import
27 lines
413 B
PHP
27 lines
413 B
PHP
<?php
|
|
|
|
return [
|
|
|
|
'lockout' => [
|
|
'time' => 2,
|
|
'attempts' => 3,
|
|
],
|
|
|
|
'guards' => [
|
|
'api' => [
|
|
'driver' => 'token',
|
|
'provider' => 'users',
|
|
],
|
|
],
|
|
|
|
'passwords' => [
|
|
'users' => [
|
|
'provider' => 'users',
|
|
'table' => 'password_resets',
|
|
'expire' => 60,
|
|
'throttle' => 60,
|
|
],
|
|
],
|
|
|
|
];
|