Use existing sessionid on login if available

This commit is contained in:
Adam
2019-01-31 19:47:56 -05:00
parent 63c3937f87
commit c62941855d
4 changed files with 9 additions and 5 deletions
@@ -136,10 +136,8 @@ public class AccountService
}
@RequestMapping("/login")
public OAuthResponse login()
public OAuthResponse login(@RequestParam UUID uuid)
{
UUID uuid = UUID.randomUUID();
State state = new State();
state.setUuid(uuid);
state.setApiVersion(RuneLiteAPI.getVersion());