Skip to content

Error while logging in with "Remember me" using Postgres #635

Closed
@RomeroMsk

Description

With Postgres as database driver I'm having an issue when trying to log in with "Remember me" checked:

UserFrosting Application Error
The application could not run because of the following error:

Details

Type: PDOException
Code: 42883
Message: SQLSTATE[42883]: Undefined function: 7 ERROR: function sha1(unknown) does not exist LINE 1: ..., token, persistent_token, expires_at) VALUES($1, SHA1($2), ... ^ HINT: No function matches the given name and argument types. You might need to add explicit type casts.
File: .../app/vendor/birke/rememberme/src/Rememberme/Storage/PDO.php
Line: 58

So, using this library (gbirke/rememberme) makes UserFrosting database dependent.

Any chances to get a fix/workaround for this?

Metadata

Assignees

No one assigned

    Labels

    compatibilityCompatibility issue with other framework, features

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions