Web interface: Allow registering new user accounts also to regular clients
This commit is contained in:
parent
8eb12094c6
commit
7ca6c5d88f
1 changed files with 2 additions and 2 deletions
|
@ -230,8 +230,8 @@ bool Server::is_authorized(const struct mg_connection *conn, struct http_message
|
|||
!mg_vcmp(&hm->uri, "/form.css") ||
|
||||
!mg_vcmp(&hm->uri, "/style.css") ||
|
||||
!mg_vcmp(&hm->uri, "/logo.png") ||
|
||||
!mg_vcmp(&hm->uri, "/users") ||
|
||||
!mg_vcmp(&hm->uri, "/users/add") ||
|
||||
!mg_vcmp(&hm->uri, "/users/register.shtml") ||
|
||||
!mg_vcmp(&hm->uri, "/api/v1/users/add") ||
|
||||
!mg_vcmp(&hm->uri, "/authorize")) {
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue