Skip to content

Commit 56c388e

Browse files
committed
Fix misspelling
1 parent 6525d99 commit 56c388e

File tree

3 files changed

+13
-13
lines changed

3 files changed

+13
-13
lines changed

README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Then do vendor publish:
2626
php artisan vendor:publish --provider="Sicaboy\LaravelSecurity\LaravelSecurityServiceProvider"
2727
```
2828

29-
After publish, you are able to modify templates and config in:
29+
After publishing, you can modify templates and config in:
3030

3131
```
3232
app/config/laravel-security.php
@@ -45,7 +45,7 @@ Siaboy\LaravelSecurity\LaravelSecurityServiceProvider::class,
4545

4646
## Disallow user to use a common password or a used password
4747

48-
**Verify the user provided password is not one of the top 10,000 worst passwords** as analyzed by a respectable IT security analyst. Read about all
48+
**Verify the user-provided password is not one of the top 10,000 worst passwords** as analyzed by a respectable IT security analyst. Read about all
4949
[ here](https://xato.net/10-000-top-passwords-6d6380716fe0#.473dkcjfm),
5050
[here(wired)](http://www.wired.com/2013/12/web-semantics-the-ten-thousand-worst-passwords/) or
5151
[here(telegram)](http://www.telegraph.co.uk/technology/internet-security/10303159/Most-common-and-hackable-passwords-on-the-internet.html)
@@ -82,7 +82,7 @@ public function rules()
8282

8383
#### CAUTION: Extra event you need to call
8484

85-
Login and reigster events are automatically traced.
85+
User login and register events have been automatically traced.
8686
While there is an extra event you should add to call explicitly.
8787

8888
```php
@@ -95,7 +95,7 @@ event(new \Illuminate\Auth\Events\PasswordReset($user));
9595
#### Available policies
9696

9797
- Delete accounts with days of no activity
98-
- Lock out accounts with days of no activity
98+
- Lockout accounts with days of no activity
9999
- Force change password every x days
100100

101101
1. To enable the first two policies, you need to set `enabled` to `true` in `config/laravel-security.php` as below:
@@ -137,7 +137,7 @@ and set `enabled` to `true` and `change_password_url` in `config/laravel-securit
137137
]
138138
```
139139

140-
3. Add the following commands to `app/Console/Kernel.php` of your application. **Impelemt to one instance if uding web server clusters**
140+
3. Add the following commands to `app/Console/Kernel.php` of your application. **Implement to one instance if using web server clusters**
141141

142142
```php
143143
protected function schedule(Schedule $schedule)
@@ -149,7 +149,7 @@ protected function schedule(Schedule $schedule)
149149
...
150150
}
151151
```
152-
3. Make sure you add the [Laravel scheduler](https://laravel.com/docs/7.x/scheduling#introduction) in your crontab **Impelemt to one instance if uding web server clusters**
152+
3. Make sure you add the [Laravel scheduler](https://laravel.com/docs/7.x/scheduling#introduction) in your crontab **Implement to one instance if using web server clusters**
153153

154154
```
155155
* * * * * cd /path-to-your-project && php artisan schedule:run >> /dev/null 2>&1
@@ -159,19 +159,19 @@ protected function schedule(Schedule $schedule)
159159

160160
This feature has been moved to [sicaboy/laravel-mfa](https://github.com/sicaboy/laravel-mfa)
161161

162-
## TO DO
162+
## TODO
163163

164-
- Add index to db user_id
164+
- Add index to DB user_id
165165

166-
- Abolity to split `extended_security` table to multiple tables. or other methods to support websites with huge user mount.
166+
- Ability to split `extended_security` table to multiple tables. or other methods to support websites with huge user mount.
167167

168168
- Crom to remove too old password records to avoid heavy table.
169169

170170
## Thanks
171171

172172
- Special thanks to [@dwoon](https://github.com/dwoon) for constructive suggestions.
173173

174-
## Change log
174+
## Changelog
175175

176176
Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.
177177

resources/views/emails/account-locked.blade.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
Hi{{ !empty($user->first_name) ? ' ' . $user->first_name : '' }},
66
</p>
77
<p>
8-
Your account has been locked due to {{ $days }} days of no activity.
8+
Your account has been locked due to {{ $days }} days of inactivity.
99
</p>
1010
<p>
11-
If you have any questions, please do not hesitate to contact admin.
11+
If you have any questions, please do not hesitate to contact the administrator.
1212
</p>
1313
@stop

resources/views/emails/account-terminated.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@
88
Your account has been terminated due to {{ $days }} days of no activity.
99
</p>
1010
<p>
11-
If you have any questions, please do not hesitate to contact admin.
11+
If you have any questions, please do not hesitate to contact the administrator.
1212
</p>
1313
@stop

0 commit comments

Comments
 (0)