aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Regate.php
diff options
context:
space:
mode:
authorHilmar R <u02@u29lx193>2021-01-24 16:44:58 +0100
committerHilmar R <u02@u29lx193>2021-01-24 16:44:58 +0100
commit0a16674f6e6b96b99b1bc004a62684b7cc2a4694 (patch)
tree9d225db7a46f982436b000bf3227d1dfece99021 /Zotlabs/Module/Regate.php
parent9365b8691e337f9ae9c000be8339bd325811a526 (diff)
downloadvolse-hubzilla-0a16674f6e6b96b99b1bc004a62684b7cc2a4694.tar.gz
volse-hubzilla-0a16674f6e6b96b99b1bc004a62684b7cc2a4694.tar.bz2
volse-hubzilla-0a16674f6e6b96b99b1bc004a62684b7cc2a4694.zip
auto channel create adjustments, zar log reg msgs
Diffstat (limited to 'Zotlabs/Module/Regate.php')
-rw-r--r--Zotlabs/Module/Regate.php14
1 files changed, 10 insertions, 4 deletions
diff --git a/Zotlabs/Module/Regate.php b/Zotlabs/Module/Regate.php
index 8ec559332..eabc1459e 100644
--- a/Zotlabs/Module/Regate.php
+++ b/Zotlabs/Module/Regate.php
@@ -131,9 +131,13 @@ class Regate extends \Zotlabs\Web\Controller {
if ($cra['success']) {
q("COMMIT");
- $msg = 'ZAR1238I' . t('Account successfull created');
- zar_log($msg . ':' . print_r($cra, true));
- $nextpage = '~';
+ $msg = 'ZAR1238I ' . t('Account successfull created');
+ // zar_log($msg . ':' . print_r($cra, true));
+ zar_log($msg . ' ' . $cra['account']['account_email']
+ . ' ' . $cra['account']['account_language']);
+ $nextpage = 'new_channel';
+
+ /* oops, ffu perhaps
$auto_create = (get_config('system','auto_channel_create') ? true : false);
if($auto_create) {
@@ -144,9 +148,10 @@ class Regate extends \Zotlabs\Web\Controller {
set_aconfig($cra['account']['account_id'],
'register','channel_address',$reonar['chan.did1']);
}
-
+ */
authenticate_success($cra['account'],null,true,false,true);
+ /* oops, ffu perhaps
if($auto_create) {
$new_channel = auto_channel_create($cra['account']['account_id']);
if($new_channel['success']) {
@@ -161,6 +166,7 @@ class Regate extends \Zotlabs\Web\Controller {
);
}
}
+ */
unset($_SESSION['login_return_url']);
}
else {