@@ -77,35 +77,6 @@ function emailVerifyConfirm($RES, $contact_id)
77
77
78
78
return $ RES ->withRedirect ('/verify? ' . http_build_query ($ _GET ));
79
79
80
- // $data = $this->data;
81
- // $data['Page']['title'] = 'Email Verification';
82
- // $data['info'] = 'Email address has been validated';
83
- // if (empty($_SESSION['Contact'])) {
84
- // $data['foot'] = '<div class="r"><a class="btn btn-outline-primary" href="/auth/open">Sign In <i class="icon icon-arrow-right"></i></a></div>';
85
- // } else {
86
- // $data['foot'] = '<div class="r"><a class="btn btn-outline-primary" href="/auth/init">Continue <i class="icon icon-arrow-right"></i></a></div>';
87
- // }
88
-
89
- // // Set Contact Model on Response
90
- // $RES = $RES->withAttribute('Contact', [
91
- // 'id' => $ARG['contact']['id'],
92
- // 'username' => $ARG['contact']['username'],
93
- // 'flag' => Contact::FLAG_EMAIL_GOOD,
94
- // ]);
95
-
96
- // // @deprecated use ACT, is this even the right spot for it?
97
- // // Landed here from Password Reset?
98
- // // No prompt, just show verifications
99
- // if ('password-reset' == $ARG['source']) {
100
- // unset($ARG['intent']);
101
- // unset($ARG['source']);
102
- // $x = _encrypt(json_encode($ARG), $_SESSION['crypt-key']);
103
- // return $RES->withRedirect('/account/verify?_=' . $x);
104
- // }
105
-
106
- // $html = $this->render('done.php', $data);
107
- // return $RES->write($html);
108
-
109
80
}
110
81
111
82
/**
0 commit comments