You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
420 B

  1. <?php
  2. namespace App\Http\Controllers;
  3. use Illuminate\Http\Request;
  4. class NewAuthController extends Controller
  5. {
  6. public function emailChecking()
  7. {
  8. if (1) {
  9. // email exists in db
  10. }
  11. if (2) {
  12. // email exists in cache
  13. }
  14. if (3) {
  15. // email exists in invite table
  16. }
  17. if (4) {
  18. // none of above
  19. }
  20. }
  21. }