mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Check user signs up
This commit is contained in:
parent
2978f005cd
commit
9d693165f2
@ -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…
x
Reference in New Issue
Block a user