Commit 6e502d38 by Alfiro Pratama

add fakultas fkp

parent 575363c3
...@@ -92,6 +92,8 @@ class InseoHelper ...@@ -92,6 +92,8 @@ class InseoHelper
'hukum' => 'FH', 'hukum' => 'FH',
'ilmu hukum' => 'FH', 'ilmu hukum' => 'FH',
'fkp' => 'FKP',
'kampus unesa magetan' => 'PSDKU Magetan', 'kampus unesa magetan' => 'PSDKU Magetan',
]; ];
......
...@@ -69,12 +69,11 @@ class LoginController extends Controller ...@@ -69,12 +69,11 @@ class LoginController extends Controller
} }
$user = $this->userRepo->find(null, null, $auth[0]->email); $user = $this->userRepo->find(null, null, $auth[0]->email);
// dd($user);
if ($user) { if ($user) {
return $this->getlogin($user->id); return $this->getlogin($user->id);
} else { } else {
return $this->getadduser($auth); return $this->getAdduser($auth);
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment