Skip to content

Commit baeb172

Browse files
committed
fixed typo
1 parent f1f9dfa commit baeb172

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

docs/authorization.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@
2222
- [getGroups()](#getgroups)
2323
- [User Activation](#user-activation)
2424
- [Checking Activation Status](#checking-activation-status)
25-
- [Activating a User](#activating-a-user)
26-
- [Deactivating a User](#deactivating-a-user)
25+
- [Activating a User](#activating-a-user)
26+
- [Deactivating a User](#deactivating-a-user)
2727

2828
Authorization happens once a user has been identified through authentication. It is the process of
2929
determining what actions a user is allowed to do within your site.
@@ -262,17 +262,17 @@ if ($user->isNotActivated()) {
262262
}
263263
```
264264

265-
## Activating a User
265+
### Activating a User
266266

267-
Users are automatically activated within the `EmailActivator` action. They can be manually activated via the `activate()` method on the User entity.
267+
Users are automatically activated within the `EmailActivator` action. They can be manually activated via the `activate()` method on the `User` entity.
268268

269269
```php
270270
$user->activate();
271271
```
272272

273-
## Deactivating a User
273+
### Deactivating a User
274274

275-
Users can be manually deactivated via the `deactivate()` method on the User entity.
275+
Users can be manually deactivated via the `deactivate()` method on the `User` entity.
276276

277277
```php
278278
$user->deactivate();

0 commit comments

Comments
 (0)