40 行
1.3 KiB
Markdown
40 行
1.3 KiB
Markdown
# XXB No Email Register
|
|
|
|
[](https://git.parlz.com/Xiaoxiaobai5724/ner/blob/2.x/LICENSE) [](https://packagist.org/packages/xxb5724/ner) [](https://packagist.org/packages/xxb5724/ner)
|
|
|
|
> ## Note
|
|
> This extension is not recommended unless you have special requirements, as it will break Flarum's email notification system.
|
|
|
|
A Flarum 2.0 extension. It removes the email input field from the registration form and skips email verification, allowing users to register without providing an email.
|
|
|
|
### Features
|
|
|
|
- **Hide Email Input**: The email field no longer appears in the registration popup.
|
|
- **No Email Verification**: New users are activated immediately without needing to verify their email.
|
|
- **Automatic Fake Email**: Automatically generates a unique fake email for users to avoid database unique index conflicts.
|
|
|
|
### Installation
|
|
|
|
Install via Composer:
|
|
|
|
```bash
|
|
composer require xxb5724/ner
|
|
php flarum cache:clear
|
|
```
|
|
|
|
### Update
|
|
|
|
```bash
|
|
composer update xxb5724/ner
|
|
php flarum cache:clear
|
|
```
|
|
|
|
### Uninstall
|
|
|
|
```bash
|
|
composer remove xxb5724/ner
|
|
php flarum cache:clear
|
|
```
|
|
|
|
### Contribution
|
|
- Tsiem Tsheng |