Skip to content

Instantly share code, notes, and snippets.

@lanceon
Created September 10, 2013 23:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lanceon/6517487 to your computer and use it in GitHub Desktop.
Save lanceon/6517487 to your computer and use it in GitHub Desktop.
if (Props.devMode) autologinFunc = Full(autoLogin)
private def autoLogin() {
val u = User.findUserByUserName("dummy@altus-insight.de")
if (u.isDefined) logUserIn(u.get)
else debug("could not find dummy user for auto login. please create user ...@altus-insight.de")
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment