[Minor] added message when logging out
This commit is contained in:
parent
f9b3a8ebe4
commit
17b023be44
|
@ -139,6 +139,7 @@ public class AuthenticationService {
|
||||||
Certificate certificate = sessionHandlerHandler.validate(origin, authToken);
|
Certificate certificate = sessionHandlerHandler.validate(origin, authToken);
|
||||||
sessionHandlerHandler.invalidateSession(origin, certificate);
|
sessionHandlerHandler.invalidateSession(origin, certificate);
|
||||||
|
|
||||||
|
logoutResult.setMsg(MessageFormat.format("{0} has been logged out.", certificate.getUsername())); //$NON-NLS-1$
|
||||||
return Response.ok().entity(entity).build();
|
return Response.ok().entity(entity).build();
|
||||||
|
|
||||||
} catch (StrolchException | PrivilegeException e) {
|
} catch (StrolchException | PrivilegeException e) {
|
||||||
|
|
Loading…
Reference in New Issue