           ensureCurrentUserAvatar()
 
         if auth.form in ['edit profile']
-          @local.saved_successfully = current_user.errors.length == 0 && (@local.errors or []).length == 0
+          @local.saved_successfully = current_user.errors.length + @local.errors.length == 0
 
         # Once the user logs in, we will stop showing the log-in screen
         else if current_user.logged_in

          data: 
            authenticity_token: current_user.csrf
            trying_to: 'update_avatar_hack'

  componentDidMount : -> 
    writeToLog {what: 'accessed authentication'}


      save @local

    if auth.ask_questions && !current_user.tags['considerit_terms.editable']
      @local.errors.push translator('auth.validation.agree_to_terms', "To proceed, you must agree to the terms") 

    if @local.errors.length == 0
      @local.submitting = true
