Timeline for How can I force user logout from a JavaScript library in a custom module?
Current License: CC BY-SA 4.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Dec 29, 2021 at 13:59 | comment | added | misterdidi | You are both right. I edited my answer to take your comments into account. | |
Dec 29, 2021 at 13:58 | history | edited | misterdidi | CC BY-SA 4.0 |
Made corrections according to comments feedback
|
Dec 29, 2021 at 13:04 | comment | added | Clive♦ |
There's also no view published content permission - you probably meant access content
|
|
Dec 29, 2021 at 9:42 | comment | added | leymannx |
Drupal calls should be avoided in classes. Controllers have a currentUser method. if ($this->currentUser()->isAuthenticated()) { .
|
|
Dec 29, 2021 at 9:15 | history | answered | misterdidi | CC BY-SA 4.0 |