https://github.com/proloser/cakephp-welcome
A quick way to add rudimentary Auth/User code (registration, email, password updating, etc)
https://github.com/proloser/cakephp-welcome
Last synced: 8 months ago
JSON representation
A quick way to add rudimentary Auth/User code (registration, email, password updating, etc)
- Host: GitHub
- URL: https://github.com/proloser/cakephp-welcome
- Owner: ProLoser
- Created: 2010-01-28T11:07:08.000Z (over 16 years ago)
- Default Branch: master
- Last Pushed: 2011-05-18T04:32:10.000Z (about 15 years ago)
- Last Synced: 2025-04-04T07:45:02.980Z (about 1 year ago)
- Language: PHP
- Homepage:
- Size: 138 KB
- Stars: 6
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Welcome Plugin For CakePHP
## THIS PLUGIN IS COMPLETELY BROKEN, DONT BOTHER USING IT
Common user functionality to be used with core Auth component for CakePHP
## Features
### Membership Behavior
* Validation
* Confirm password field validation
* Old password field validation
* Unique [username] field validation
### Membership Component
* Email confirmation for registration (in progress)
* Remember Me checkbox (in progress)
* Scaffolded views (for copying)
* Login
* Register
* Forgotton Password (reset account)
* Update Password
## Installation
1. Download or clone plugin to plugins/welcome (git://github.com/ProLoser/CakePHP-Welcome.git)
2. Install 'Membership' behavior:
class User extends AppModel {
var $name = 'User';
var $actsAs = array(
'Welcome.Membership' => array(
// Optional configuration options
'fields' => array(
// fieldnames to be used
'username' => 'username',
'password' => 'password',
'old_password' => 'old_password',
'confirm_password' => 'confirm_password',
),
),
);
}
3. Just visit /welcome/users/register and the other controller actions in your browser
## Custom Views / Emails
If you would like to override the default views, you can use the CakePHP standard by placing your views in:
app/views/plugins/welcome/users/[here]
And your email templates in:
app/views/plugins/welcome/elements/email/[html|text]/register.ctp