Skip to content

Login user automatically after creation #1928

@marienfressinaud

Description

@marienfressinaud

When a user creates a new account, he's redirected to the login page.

It's expected to be logged in at the same time and to be redirected to the main interface.

A solution would be to change app/Controllers/userController.php, createAction method with something like that line 232:

Minz_Session::_param('currentUser', $username);
Minz_Session::_param('passwordHash', $password_hash);
FreshRSS_Auth::giveAccess();

What do you think?

Metadata

Metadata

Labels

Good first issue 1️⃣Beginner friendly - New contributors are welcome

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions