mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-18 22:33:44 +02:00
Add back API (#80)
Re-implements the API after it was removed in the Laravel 5.3 upgrade.
This commit is contained in:
@@ -49,8 +49,8 @@ class UserRepository
|
||||
/**
|
||||
* Creates a user on the panel. Returns the created user's ID.
|
||||
*
|
||||
* @param string $email
|
||||
* @param string|null $password An unhashed version of the user's password.
|
||||
* @param string $email
|
||||
* @param string|null $password An unhashed version of the user's password.
|
||||
* @return bool|integer
|
||||
*/
|
||||
public function create($email, $password = null, $admin = false)
|
||||
|
||||
Reference in New Issue
Block a user