File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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
2828Authorization happens once a user has been identified through authentication. It is the process of
2929determining 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();
You can’t perform that action at this time.
0 commit comments