forked from wingman007/fmi
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Registration, e-mail confirmation, forgotten pass
- Loading branch information
1 parent
b58f755
commit 8e70ced
Showing
24 changed files
with
841 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
ALTER TABLE users ADD `usr_password_salt` varchar(100) DEFAULT NULL COMMENT 'dynamicSalt', | ||
|
||
INSERT INTO `users` VALUES (2,'stoyan','50f2405710d1ea8a0e6a0d6b4471586c','[email protected]',NULL,NULL,1,NULL,NULL,NULL,'eqwe3213'); | ||
|
||
string to encripting: aFGQ475SDsdfsaf2342passwordeqwe3213 | ||
|
||
ALTER TABLE users ADD `usr_registration_date` DATETIME DEFAULT NULL COMMENT 'Registration moment'; | ||
ALTER TABLE users ADD `usr_registration_token` varchar(100) DEFAULT NULL COMMENT 'unique id sent by e-mail'; | ||
|
||
ALTER TABLE users ADD `usr_email_cofirmed` tinyint(1) NOT NULL COMMENT 'e-mail confirmed by user'; | ||
|
||
=========== Error and correction =============================================== | ||
ALTER TABLE users ADD `usr_email_cofirmed` tinyint(1) NOT NULL COMMENT 'e-mail confirmed by user'; | ||
|
||
ALTER TABLE users CHANGE `usr_email_cofirmed` `usr_email_confirmed` tinyint(1) NOT NULL COMMENT 'e-mail confirmed by user'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
{ | ||
"name": "zendframework/skeleton-application", | ||
"description": "Skeleton Application for ZF2", | ||
"license": "BSD-3-Clause", | ||
"keywords": [ | ||
"framework", | ||
"zf2" | ||
], | ||
"homepage": "http://framework.zend.com/", | ||
"minimum-stability": "alpha", | ||
"repositories": [ | ||
{ | ||
"type": "composer", | ||
"url": "http://packages.zendframework.com/" | ||
} | ||
], | ||
"require": { | ||
"php": ">=5.3.3", | ||
"zendframework/zendframework": "2.*", | ||
"zendframework/zendservice-recaptcha": "2.*", | ||
"doctrine/common": ">=2.1", | ||
"doctrine/doctrine-orm-module": "0.*" | ||
}, | ||
"autoload": { | ||
"psr-0": { | ||
"CsnBase\\": "vendor/coolcsn/csn-base/src/" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{ | ||
"name": "zendframework/skeleton-application", | ||
"description": "Skeleton Application for ZF2", | ||
"license": "BSD-3-Clause", | ||
"keywords": [ | ||
"framework", | ||
"zf2" | ||
], | ||
"homepage": "http://framework.zend.com/", | ||
"minimum-stability": "alpha", | ||
"repositories": [ | ||
{ | ||
"type": "composer", | ||
"url": "http://packages.zendframework.com/" | ||
} | ||
], | ||
"require": { | ||
"php": ">=5.3.3", | ||
"zendframework/zendframework": "2.*", | ||
"zendframework/zendservice-recaptcha": "2.*", | ||
"doctrine/common": ">=2.1", | ||
"doctrine/doctrine-orm-module": "0.*", | ||
"doctrine/doctrine-mongo-odm-module": "dev-master" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?php | ||
return array( | ||
'mail' => array( | ||
'transport' => array( | ||
'options' => array( | ||
'host' => 'smtp.gmail.com', | ||
'connection_class' => 'plain', | ||
'connection_config' => array( | ||
'username' => '[email protected]', | ||
'password' => '', | ||
'ssl' => 'tls' | ||
), | ||
), | ||
), | ||
), | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.