mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-07-30 04:23:11 +03:00
Got standard form-based registration working
This commit is contained in:
@ -21,4 +21,9 @@ class UserRepo
|
||||
public function getByEmail($email) {
|
||||
return $this->user->where('email', '=', $email)->first();
|
||||
}
|
||||
|
||||
public function getById($id)
|
||||
{
|
||||
return $this->user->findOrFail($id);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user