mirror of
https://github.com/CachetHQ/Cachet.git
synced 2025-01-18 05:58:18 +01:00
Subscribers can now confirm and unsubscribe when 'Allow people to signup...' is disabled
This commit is contained in:
parent
ffa6a8f3d6
commit
728ad547b5
@ -41,17 +41,17 @@ class SubscribeRoutes
|
|||||||
$router->post('subscribe', [
|
$router->post('subscribe', [
|
||||||
'uses' => 'SubscribeController@postSubscribe',
|
'uses' => 'SubscribeController@postSubscribe',
|
||||||
]);
|
]);
|
||||||
|
|
||||||
$router->get('subscribe/verify/{code}', [
|
|
||||||
'as' => 'verify',
|
|
||||||
'uses' => 'SubscribeController@getVerify',
|
|
||||||
]);
|
|
||||||
|
|
||||||
$router->get('unsubscribe/{code}', [
|
|
||||||
'as' => 'unsubscribe',
|
|
||||||
'uses' => 'SubscribeController@getUnsubscribe',
|
|
||||||
]);
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
$router->get('subscribe/verify/{code}', [
|
||||||
|
'as' => 'verify',
|
||||||
|
'uses' => 'SubscribeController@getVerify',
|
||||||
|
]);
|
||||||
|
|
||||||
|
$router->get('unsubscribe/{code}', [
|
||||||
|
'as' => 'unsubscribe',
|
||||||
|
'uses' => 'SubscribeController@getUnsubscribe',
|
||||||
|
]);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user