mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-23 20:00:33 -04:00
Bug fix for reconfirm useR
This commit is contained in:
parent
7a50032b35
commit
38e5a14172
@ -23,6 +23,6 @@ class ReconfirmUserRequest extends Request
|
|||||||
*/
|
*/
|
||||||
public function authorize() : bool
|
public function authorize() : bool
|
||||||
{
|
{
|
||||||
return auth()->user()->Admin();
|
return auth()->user()->isAdmin();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user