mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-20 03:15:19 +00:00
Guranteed somebody will paste the verification link and not the token, especially before all the translations are completed. But even then...
This commit is contained in:
parent
69099a2732
commit
21f464a557
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ class Email_validation extends \Zotlabs\Web\Controller {
|
|||
function post() {
|
||||
|
||||
if($_POST['token']) {
|
||||
if(! account_approve(trim($_POST['token']))) {
|
||||
if(! account_approve(trim(basename($_POST['token'])))) {
|
||||
notice('Token verification failed.');
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue