mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-03-31 12:45:40 -04:00
Hide registration form if max registration reached
See https://github.com/FreshRSS/FreshRSS/issues/679
This commit is contained in:
@@ -351,5 +351,8 @@ class FreshRSS_auth_Controller extends Minz_ActionController {
|
||||
* This action gives possibility to a user to create an account.
|
||||
*/
|
||||
public function registerAction() {
|
||||
if (max_registrations_reached()) {
|
||||
Minz_Error::error(403);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user