primo upload

This commit is contained in:
claus75a
2024-03-16 20:37:32 +01:00
commit e43b9b4b28
3019 changed files with 406000 additions and 0 deletions
@@ -0,0 +1,33 @@
<?php
namespace Vanguard\Http\Requests\Auth;
class ApiLoginRequest extends LoginRequest
{
/**
* Get the validation rules that apply to the request.
*
* @return array
*/
public function rules()
{
return array_merge(parent::rules(), [
'device_name' => 'required',
]);
}
/**
* Get the needed authorization credentials from the request.
*
* @return array
* @throws \Illuminate\Contracts\Container\BindingResolutionException
*/
public function getCredentials()
{
$credentials = parent::getCredentials();
unset($credentials['password']);
return $credentials;
}
}