mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-01 01:44:08 +00:00
whitespace change only
This commit is contained in:
1 parent
f9bfddfd72
commit
da2fcbf154
1 file changed
+2
-2
@@ -25,14 +25,14 @@ public class SecurityResource extends AbstractSecurityResource {
|
||||
@GET
|
||||
@Path("/hello")
|
||||
@Produces("application/json;charset=UTF-8")
|
||||
public Response sayHello(){
|
||||
public Response sayHello() {
|
||||
return Response.ok("Hello!", MediaType.TEXT_PLAIN).build();
|
||||
}
|
||||
|
||||
@POST
|
||||
@Path("/login")
|
||||
@Produces("application/json;charset=UTF-8")
|
||||
public Response login(@FormParam("username") String username, @FormParam("password") String password){
|
||||
public Response login(@FormParam("username") String username, @FormParam("password") String password) {
|
||||
try {
|
||||
getService().login(username, password);
|
||||
logger.info("Successfully logged in " + username + " with password");
|
||||
|
||||
Reference in new issue
Block a user