SpoutDev/Spoutcraft-Launcher — pull request #22 by xenni (2011-10-22 23:07:54+00:00)
Title: Login Changes

### non-premium
* warns non-premium users that their accounts are not premium and fails to launch

### offline authentication
* uses a minecraft launcher style lastlogin file to allow offline users to authenticate if they have authenticated previously
* uses SHA256 to ensure that the user's password cannot be recovered from the file
* this file is difficult to reproduce, so lay users cannot fake it and gain access that way
* this is pretty much just as secure as the minecraft launcher's lastlogin file, but also keeps the user's credentials safe
* this file is called 'lastlogin-spoutcraft' and is located in the '.spoutcraft' directory

### other
* adds '.idea' to '.gitignore' to ignore IntelliJ IDEA project files