Disable account registering from disabled email provider

This commit is contained in:
Peter Papp
2021-07-23 13:28:40 +02:00
parent 8951ebc69f
commit eaec744356
30 changed files with 733 additions and 71 deletions
@@ -18,7 +18,7 @@ class SetStripeController
{
// TODO: pridat validator do requestu
// Check payment setup status
if (get_setting('payments_configured')) {
if (get_settings('payments_configured')) {
abort(401, 'Gone');
}
+1
View File
@@ -11,6 +11,7 @@ use Illuminate\Database\Eloquent\Factories\HasFactory;
* @method static where(string $string, mixed $get)
* @method static whereIn(string $string, string[] $columns)
* @method static create(string[] $array)
* @method static find(array|string $setting)
* @property string value
* @property string name
*/