mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/izyim-api.git
synced 2026-08-21 21:44:18 +00:00
display user profile and company profile
This commit is contained in:
@@ -159,6 +159,10 @@ class AuthController extends Controller
|
||||
|
||||
return response()->json(['success'=> true, 'message'=> 'Profile updated.'], 200);
|
||||
}
|
||||
public function show()
|
||||
{
|
||||
return response()->json(['user' => Auth::user()]);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
@@ -294,4 +298,6 @@ class AuthController extends Controller
|
||||
'success' => false, 'data'=> ['message'=> 'Invalid token or email or expired code']
|
||||
]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user