mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-10-20 10:14:33 -04:00
Hide registration form if max registration reached
See https://github.com/FreshRSS/FreshRSS/issues/679
This commit is contained in:
1 parent
02c3546440
commit
f560c44a00
3 files changed
+10
-1
No files matched your search
@@ -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