Search by

drago-ex / project-account

accgit

Account management for Drago Project.

Package info

github.com/drago-ex/project-account

Type:drago-tools-resource

pkg:composer/drago-ex/project-account

Statistics

Installs: 182

Dependents: 1

Suggesters: 0

Stars: 0

Open Issues: 0

v2.0.0 2026-10-31 15:42 UTC

This package is auto-updated.

Last update: 2026-11-05 19:06:56 UTC


README

The account page of the signed-in user in Drago Project: changing the name, the email address and the password.

PHP version Coding Style

Requirements

Installation

composer require drago-ex/project-account

Project Tools copies the files of the package into the project, where you adapt them. The page has its own entry point assets/account.js; its npm dependencies (theme switcher, Font Awesome) are installed by npm install of the project.

Usage

{link :Account:}

The Account presenter is outside the front and backend modules, so both can link it. It has two forms: the profile (name and email) and the password change.

  • Changing the email address requires the current password; the new address applies after it is confirmed by a link, and the previous address gets a notice.
  • Wrong current passwords are limited to 5 per user in 15 minutes.
  • New passwords follow the rules of Project Auth; changing the password signs out all other sessions.

Permissions

The rules are in Account/acl.neon: the resource Account, for signed-in users.

The same file describes the privileges (permissionLabels) for the permissions page of Project Permission.