mirror of
https://github.com/standardebooks/web.git
synced 2025-07-10 00:30:28 -04:00
Add admin form to view and edit users
This commit is contained in:
parent
32607fb220
commit
8ad3291a35
35 changed files with 902 additions and 72 deletions
7
lib/Exceptions/BenefitsRequirePasswordException.php
Normal file
7
lib/Exceptions/BenefitsRequirePasswordException.php
Normal file
|
@ -0,0 +1,7 @@
|
|||
<?
|
||||
namespace Exceptions;
|
||||
|
||||
class BenefitsRequirePasswordException extends AppException{
|
||||
/** @var string $message */
|
||||
protected $message = 'One or more of the selected benefits require that the user have a password set.';
|
||||
}
|
7
lib/Exceptions/EmailRequiredException.php
Normal file
7
lib/Exceptions/EmailRequiredException.php
Normal file
|
@ -0,0 +1,7 @@
|
|||
<?
|
||||
namespace Exceptions;
|
||||
|
||||
class EmailRequiredException extends AppException{
|
||||
/** @var string $message */
|
||||
protected $message = 'An email is required.';
|
||||
}
|
7
lib/Exceptions/InvalidUserException.php
Normal file
7
lib/Exceptions/InvalidUserException.php
Normal file
|
@ -0,0 +1,7 @@
|
|||
<?
|
||||
namespace Exceptions;
|
||||
|
||||
class InvalidUserException extends ValidationException{
|
||||
/** @var string $message */
|
||||
protected $message = 'User is invalid.';
|
||||
}
|
7
lib/Exceptions/InvalidUuidException.php
Normal file
7
lib/Exceptions/InvalidUuidException.php
Normal file
|
@ -0,0 +1,7 @@
|
|||
<?
|
||||
namespace Exceptions;
|
||||
|
||||
class InvalidUuidException extends AppException{
|
||||
/** @var string $message */
|
||||
protected $message = 'Invalid UUID.';
|
||||
}
|
12
lib/Exceptions/SeeOtherException.php
Normal file
12
lib/Exceptions/SeeOtherException.php
Normal file
|
@ -0,0 +1,12 @@
|
|||
<?
|
||||
namespace Exceptions;
|
||||
|
||||
class SeeOtherException extends AppException{
|
||||
public string $Url;
|
||||
|
||||
public function __construct(string $url){
|
||||
$this->Url = $url;
|
||||
|
||||
parent::__construct();
|
||||
}
|
||||
}
|
7
lib/Exceptions/UuidRequiredException.php
Normal file
7
lib/Exceptions/UuidRequiredException.php
Normal file
|
@ -0,0 +1,7 @@
|
|||
<?
|
||||
namespace Exceptions;
|
||||
|
||||
class UuidRequiredException extends AppException{
|
||||
/** @var string $message */
|
||||
protected $message = 'A UUID is required.';
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue