Web interface: Fix registering new users problem caused by allowing access to jquery.js only to registered users
This commit is contained in:
parent
c49512252a
commit
8d10818b9b
1 changed files with 4 additions and 0 deletions
|
@ -230,6 +230,10 @@ 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, "/js/jquery.js") ||
|
||||
!mg_vcmp(&hm->uri, "/js/jquery-ui.js") ||
|
||||
!mg_vcmp(&hm->uri, "/js/jquery.cookie.js") ||
|
||||
!mg_vcmp(&hm->uri, "/js/app.js") ||
|
||||
!mg_vcmp(&hm->uri, "/users/register.shtml") ||
|
||||
!mg_vcmp(&hm->uri, "/api/v1/users/add") ||
|
||||
!mg_vcmp(&hm->uri, "/authorize")) {
|
||||
|
|
Loading…
Add table
Reference in a new issue