Error message wording
This commit is contained in:
		
							parent
							
								
									4fae063e12
								
							
						
					
					
						commit
						9b332d1868
					
				|  | @ -43,7 +43,7 @@ description() -> | ||||||
| user_login_authentication(Username, AuthProps) -> | user_login_authentication(Username, AuthProps) -> | ||||||
|     case http_req(p(user_path), q([{username, Username}|AuthProps])) of |     case http_req(p(user_path), q([{username, Username}|AuthProps])) of | ||||||
|         {error, _} = E  -> E; |         {error, _} = E  -> E; | ||||||
|         "deny"          -> {refused, "Denied by HTTP plugin", []}; |         "deny"          -> {refused, "Denied by the backing HTTP service", []}; | ||||||
|         "allow" ++ Rest -> Tags = [rabbit_data_coercion:to_atom(T) || |         "allow" ++ Rest -> Tags = [rabbit_data_coercion:to_atom(T) || | ||||||
|                                       T <- string:tokens(Rest, " ")], |                                       T <- string:tokens(Rest, " ")], | ||||||
|                            {ok, #auth_user{username = Username, |                            {ok, #auth_user{username = Username, | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue