chester1000/30-Days-Challange — Issue #1: Login form
Author: chester1000
Created: 2012-02-12 18:13:50+00:00
State: open

Deprecate login-button in login form. Instead:

function some_change_happened():
sleep_some_time("3 seconds default?")
if( !user & !pass ): do_nothing()
elif( user & !pass ): validate_username()
elif( user & pass ): validate_creditentials()

function validate_creditentials():
if(valid): proceed_and_show_logged_in_page()
else: show_error_info()

Also, each change triggers little loader below, showing time left to check provided data on server.