PHPackages                             lekoala/silverstripe-multi-devices-remember-me - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. lekoala/silverstripe-multi-devices-remember-me

ActiveSilverstripe-module[Authentication &amp; Authorization](/categories/authentication)

lekoala/silverstripe-multi-devices-remember-me
==============================================

Backports RememberLoginHash from SS4 to SS3 to allow multi devices remember me token

0.1.1(5y ago)04MITPHPPHP &gt;=7.2

Since Feb 16Pushed 5y ago1 watchersCompare

[ Source](https://github.com/lekoala/silverstripe-multi-devices-remember-me)[ Packagist](https://packagist.org/packages/lekoala/silverstripe-multi-devices-remember-me)[ RSS](/packages/lekoala-silverstripe-multi-devices-remember-me/feed)WikiDiscussions master Synced yesterday

READMEChangelog (2)Dependencies (1)Versions (3)Used By (0)

SilverStripe Multi devices remember me module
=============================================

[](#silverstripe-multi-devices-remember-me-module)

Backports RememberLoginHash from SS4 to SS3 to allow multi devices remember me token

Code changes
============

[](#code-changes)

You need to manually edit the following lines in Member.php

Comment the part that sets alc\_enc cookies in the logIn function, it will be set by RememberMeExtension::setDeviceCookie

```
public function logIn($remember = false) {
		...

		// Only set the cookie if autologin is enabled
        RememberMeExtension::setDeviceCookie($this, $remember);
		// if($remember && Security::config()->autologin_enabled) {
		// 	// Store the hash and give the client the cookie with the token.
		// 	$generator = new RandomGenerator();
		// 	$token = $generator->randomToken('sha1');
		// 	$hash = $this->encryptWithUserSettings($token);
		// 	$this->RememberLoginToken = $hash;
		// 	Cookie::set('alc_enc', $this->ID . ':' . $token, 90, null, null, null, true);
		// } else {
		// 	$this->RememberLoginToken = null;
		// 	Cookie::force_expiry('alc_enc');
		// }

        ...
```

Edit the currentUserID function like this

```
public static function currentUserID() {
    $id = Session::get("loggedInAs");
    if(!$id && !self::$_already_tried_to_auto_log_in) {
        RememberMeExtension::autoLoginFromDevice();
        $id = Session::get("loggedInAs");
    }

    return is_numeric($id) ? (int) $id : 0;
}
```

Compatibility
=============

[](#compatibility)

Tested with 3.7+

Maintainer
==========

[](#maintainer)

LeKoala -

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity39

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~13 days

Total

2

Last Release

1897d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/701d0bd1837aa291814dafee750a02471e7e0d20749626350231ffd3bfec0ec1?d=identicon)[lekoala](/maintainers/lekoala)

---

Top Contributors

[![lekoala](https://avatars.githubusercontent.com/u/250762?v=4)](https://github.com/lekoala "lekoala (2 commits)")

---

Tags

silverstripemoduleremember-me

### Embed Badge

![Health badge](/badges/lekoala-silverstripe-multi-devices-remember-me/health.svg)

```
[![Health](https://phpackages.com/badges/lekoala-silverstripe-multi-devices-remember-me/health.svg)](https://phpackages.com/packages/lekoala-silverstripe-multi-devices-remember-me)
```

###  Alternatives

[silverstripe/mfa

Enable multi-factor authentication with fallback codes

10346.1k8](/packages/silverstripe-mfa)[axyr/silverstripe-adminlogin

Use a custom login screen to log in to the admin section

165.8k](/packages/axyr-silverstripe-adminlogin)[froog/silvergraph

Generates data model visualisations from SilverSripe DataObjects, displaying database fields, relations and ancestry

425.7k](/packages/froog-silvergraph)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
