 	return
 
 exports.site_update = site_update = ->
+	# update lastInputTime here, so the delayed gen_passwd will not trigger
+	lastInputTime = new Date().getTime()
 	site_option_state = OPTION_STATE.CHANGED
 
 exports.site_keypress = (k) ->

			opt_msg += "Options also saved."

	if not_enough_input()
		$('#passwd').val ''
		util.notify "Options for <b>#{site}</b> saved." if options_saved
		return false


	return

exports.ios_salt_update = ->
	lastInputTime = new Date().getTime()
	util.storage.set_salt $('#salt').val()

exports.username_update = ->
