-
-
Notifications
You must be signed in to change notification settings - Fork 835
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Allow additional login params, Introduce
LogInValidator
(#3670)
* Allow additional login params, dispatch 'LoggingIn' event * Update framework/core/js/src/forum/components/LogInModal.tsx Co-authored-by: David Wheatley <hi@davwheat.dev> * Introduce 'LogInValidator' * Apply fixes from StyleCI Co-authored-by: David Wheatley <hi@davwheat.dev> Co-authored-by: StyleCI Bot <bot@styleci.io>
- Loading branch information
1 parent
62a396e
commit 53ab150
Showing
3 changed files
with
42 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<?php | ||
|
||
/* | ||
* This file is part of Flarum. | ||
* | ||
* For detailed copyright and license information, please view the | ||
* LICENSE file that was distributed with this source code. | ||
*/ | ||
|
||
namespace Flarum\Forum; | ||
|
||
use Flarum\Foundation\AbstractValidator; | ||
|
||
class LogInValidator extends AbstractValidator | ||
{ | ||
/** | ||
* {@inheritdoc} | ||
*/ | ||
protected $rules = []; | ||
} |