Changeset - 7ca6c5d88f3f
[Not reviewed]
0 1 0
Jan Kaluza - 10 years ago 2016-01-22 13:54:59
jkaluza@redhat.com
Web interface: Allow registering new user accounts also to regular clients
1 file changed with 2 insertions and 2 deletions:
0 comments (0 inline, 0 general)
spectrum_manager/src/server.cpp
Show inline comments
 
@@ -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;
 
	}
0 comments (0 inline, 0 general)