Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
taskonsite-архив-перенесен
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Packages
Packages
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Dmitry Korolev
taskonsite-архив-перенесен
Commits
a48f7f0d
Commit
a48f7f0d
authored
Feb 25, 2016
by
Шакарим Сапа
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- FIX
parent
440cd82c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
7 deletions
+0
-7
common/modules/users/controllers/UserController.php
common/modules/users/controllers/UserController.php
+0
-7
No files found.
common/modules/users/controllers/UserController.php
View file @
a48f7f0d
...
@@ -137,13 +137,6 @@ class UserController extends \common\components\BaseController {
...
@@ -137,13 +137,6 @@ class UserController extends \common\components\BaseController {
if
(
!
$assignment
->
save
())
if
(
!
$assignment
->
save
())
throw
new
BadRequestHttpException
(
current
(
current
(
$assignment
->
getErrors
())),
500
);
throw
new
BadRequestHttpException
(
current
(
current
(
$assignment
->
getErrors
())),
500
);
/*$linkActivate = Yii::$app->params['frontUrl'].'/activate/'.$model->activate_code;
$subject = 'Регистрация на сайте '.Yii::$app->params['frontUrl'];
Yii::$app->mailer->compose('activate', ['link' => Yii::$app->params['frontUrl'], 'linkActivate' => $linkActivate])
->setFrom(Yii::$app->params['adminEmail'])
->setTo($model->email)
->setSubject($subject)
->send(); */
$params
=
[];
$params
=
[];
$params
[
'link_activate'
]
=
Yii
::
$app
->
params
[
'frontUrl'
]
.
'/activate/'
.
$model
->
activate_code
;
$params
[
'link_activate'
]
=
Yii
::
$app
->
params
[
'frontUrl'
]
.
'/activate/'
.
$model
->
activate_code
;
$params
[
'link'
]
=
Yii
::
$app
->
params
[
'frontUrl'
];
$params
[
'link'
]
=
Yii
::
$app
->
params
[
'frontUrl'
];
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment