update patch 1
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
<?php
|
||||
|
||||
namespace App\Helpers;
|
||||
|
||||
use Illuminate\Support\Facades\Auth;
|
||||
|
||||
class AuthenticationHelper
|
||||
{
|
||||
|
||||
|
||||
public static function CurrentLogin()
|
||||
{
|
||||
$auth = Auth::user()->username;
|
||||
return $auth;
|
||||
}
|
||||
|
||||
|
||||
public static function CurrentLoginData()
|
||||
{
|
||||
$auth = Auth::user();
|
||||
return $auth;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user