<commit_before><template>
  <div class="login">
    <h1>Welcome!</h1>
    <form method="post" action="#" name="login">
      <div class="form-group">
        <div class="input-group">
          <input type="text" id="email" required="required"/>
          <label class="control-label" for="email">EMAIL</label><i class="bar"></i>
        </div>
      </div>
      <div class="form-group">
        <div class="input-group">
          <input type="password" id="password" required="required"/>
          <label class="control-label" for="password">PASSWORD</label><i class="bar"></i>
        </div>
      </div>
      <div class="d-flex align-items-center justify-content-between">
        <button class="btn btn-primary" type="submit">
          LOGIN
        </button>
        <router-link to="/signup">Create account</router-link>
      </div>
    </form>
  </div>
</template>

<script>
  export default {
    name: 'login',
    template: 'test',
    beforeCreate () {
      console.log('test')
    }
  }
</script>

<style lang="scss">
  .login {
    h1 {
      text-align: center;
    }
    width: 21.375rem;
  }
</style><commit_msg>checkout commit<commit_after><template>
  <div class="login">
    <h1>Welcome!</h1>
    <form method="post" action="#" name="login">
      <div class="form-group">
        <div class="input-group">
          <input type="text" id="email" required="required"/>
          <label class="control-label" for="email">EMAIL</label><i class="bar"></i>
        </div>
      </div>
      <div class="form-group">
        <div class="input-group">
          <input type="password" id="password" required="required"/>
          <label class="control-label" for="password">PASSWORD</label><i class="bar"></i>
        </div>
      </div>
      <div class="d-flex align-items-center justify-content-between">
        <button v-on:click="asdf" class="btn btn-primary" type="submit">
          LOGIN
        </button>
        <router-link to="/signup">Create account</router-link>
      </div>
    </form>
  </div>
</template>

<script>
  import {mapMutations} from 'vuex'

  export default {
    name: 'login',
    template: 'test',
    beforeCreate () {
      console.log('test')
    },
    methods: {
      ...mapMutations(['authorize']),
      asdf () {
        this.authorize(true)
        this.$router.push({path: '/'})
      }
    }
  }
</script>

<style lang="scss">
  .login {
    h1 {
      text-align: center;
    }
    width: 21.375rem;
  }
</style>
{'fraction_non_alphanumeric': 0.190802743041549, 'fraction_numerical': 0.00645421540943929, 'mean_word_length': 2.4301521438450897, 'pattern_counts': {'":': 0, '<': 75, '<?xml version=': 0, '>': 75, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4601828', 'n_tokens_mistral': 813, 'n_tokens_neox': 801, 'n_words': 154}