Created
October 19, 2015 17:57
-
-
Save Elrhino/ed4df2e1895d85ee1a79 to your computer and use it in GitHub Desktop.
Code snippets from toaster launcher part 2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Override | |
public void confirm(String username, String password) { | |
if (validateCredentials(username, password)) { | |
currentUser.setLoggedIn(true); | |
PlaceRequest placeRequest = new PlaceRequest.Builder() | |
.nameToken(NameTokens.HOME) | |
.build(); | |
placeManager.revealPlace(placeRequest); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment