mirror of
https://github.com/flarum/framework.git
synced 2025-02-10 14:43:59 +08:00
![Toby Zerner](/assets/img/avatar_default.png)
- In order to be consistent with the Ember/LESS naming scheme, renamed Flarum\Web to Flarum\Forum. - Moved common classes into Flarum\Support so that Flarum\Admin doesn’t depend on Flarum\Forum. Also moved Actor into Flarum\Support as it doesn’t belong in the domain.
12 lines
203 B
PHP
12 lines
203 B
PHP
<?php namespace Flarum\Forum\Actions;
|
|
|
|
use Cookie;
|
|
|
|
trait MakesRememberCookie
|
|
{
|
|
protected function makeRememberCookie($token)
|
|
{
|
|
return Cookie::forever('flarum_remember', $token);
|
|
}
|
|
}
|