Skip to content

Commit

Permalink
LP-148 reject logic checking
Browse files Browse the repository at this point in the history
  • Loading branch information
hafijul233 committed Nov 16, 2023
1 parent 1b8cf10 commit 71b97bc
Show file tree
Hide file tree
Showing 12 changed files with 8 additions and 62 deletions.
11 changes: 0 additions & 11 deletions src/Enums/OTPOption.php

This file was deleted.

13 changes: 0 additions & 13 deletions src/Enums/PasswordResetOption.php

This file was deleted.

13 changes: 0 additions & 13 deletions src/Enums/RiskProfile.php

This file was deleted.

17 changes: 0 additions & 17 deletions src/Enums/UserStatus.php

This file was deleted.

2 changes: 1 addition & 1 deletion src/Http/Controllers/AuthenticatedController.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

namespace Fintech\Auth\Http\Controllers;

use Fintech\Auth\Enums\UserStatus;
use Fintech\Auth\Events\AccountFreezed;
use Fintech\Auth\Http\Requests\LoginRequest;
use Fintech\Auth\Http\Resources\LoginResource;
use Fintech\Auth\Traits\GuessAuthFieldTrait;
use Fintech\Core\Enums\Auth\UserStatus;
use Fintech\Core\Traits\ApiResponseTrait;
use Illuminate\Http\JsonResponse;
use Illuminate\Routing\Controller;
Expand Down
2 changes: 1 addition & 1 deletion src/Notifications/OTPNotification.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace Fintech\Auth\Notifications;

use Fintech\Auth\Enums\OTPOption;
use Fintech\Core\Enums\Auth\OTPOption;
use Illuminate\Bus\Queueable;
use Illuminate\Notifications\Messages\MailMessage;
use Illuminate\Notifications\Notification;
Expand Down
2 changes: 1 addition & 1 deletion src/Notifications/PasswordResetNotification.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace Fintech\Auth\Notifications;

use Fintech\Auth\Enums\PasswordResetOption;
use Fintech\Core\Enums\Auth\PasswordResetOption;
use Illuminate\Bus\Queueable;
use Illuminate\Notifications\Messages\MailMessage;
use Illuminate\Notifications\Notification;
Expand Down
2 changes: 1 addition & 1 deletion src/Notifications/PinResetNotification.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace Fintech\Auth\Notifications;

use Fintech\Auth\Enums\PasswordResetOption;
use Fintech\Core\Enums\Auth\PasswordResetOption;
use Illuminate\Bus\Queueable;
use Illuminate\Notifications\Messages\MailMessage;
use Illuminate\Notifications\Notification;
Expand Down
2 changes: 1 addition & 1 deletion src/Services/OneTimePinService.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

namespace Fintech\Auth\Services;

use Fintech\Auth\Enums\OTPOption;
use Fintech\Auth\Interfaces\OneTimePinRepository;
use Fintech\Auth\Notifications\OTPNotification;
use Fintech\Core\Enums\Auth\OTPOption;
use Illuminate\Support\Facades\Notification;

/**
Expand Down
2 changes: 1 addition & 1 deletion src/Services/PasswordResetService.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

namespace Fintech\Auth\Services;

use Fintech\Auth\Enums\PasswordResetOption;
use Fintech\Auth\Interfaces\OneTimePinRepository;
use Fintech\Auth\Interfaces\UserRepository;
use Fintech\Auth\Notifications\PasswordResetNotification;
use Fintech\Core\Enums\Auth\PasswordResetOption;
use Illuminate\Support\Facades\App;
use Illuminate\Support\Facades\Hash;
use Illuminate\Support\Facades\Log;
Expand Down
2 changes: 1 addition & 1 deletion src/Services/PinResetService.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

namespace Fintech\Auth\Services;

use Fintech\Auth\Enums\PasswordResetOption;
use Fintech\Auth\Interfaces\OneTimePinRepository;
use Fintech\Auth\Interfaces\UserRepository;
use Fintech\Auth\Notifications\PinResetNotification;
use Fintech\Core\Enums\Auth\PasswordResetOption;
use Illuminate\Support\Facades\App;
use Illuminate\Support\Facades\Hash;
use Illuminate\Support\Facades\Log;
Expand Down
2 changes: 1 addition & 1 deletion src/Services/UserService.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

namespace Fintech\Auth\Services;

use Fintech\Auth\Enums\PasswordResetOption;
use Fintech\Auth\Facades\Auth;
use Fintech\Auth\Interfaces\ProfileRepository;
use Fintech\Auth\Interfaces\UserRepository;
use Fintech\Core\Enums\Auth\PasswordResetOption;
use Illuminate\Support\Facades\Config;
use Illuminate\Support\Facades\DB;
use Illuminate\Support\Facades\Hash;
Expand Down

0 comments on commit 71b97bc

Please sign in to comment.