Check user signs up
This commit is contained in:
parent
2978f005cd
commit
9d693165f2
1 changed files with 1 additions and 1 deletions
|
|
@ -209,7 +209,7 @@ class LoginController extends Controller
|
|||
*/
|
||||
public function getLogoutWrapper(Request $request)
|
||||
{
|
||||
if (auth()->check() && ! auth()->user()->registered) {
|
||||
if (auth()->check() && ! auth()->user()->email && ! auth()->user()->registered) {
|
||||
if (request()->force_logout) {
|
||||
$account = auth()->user()->account;
|
||||
app('App\Ninja\Repositories\AccountRepository')->unlinkAccount($account);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue