<commit_before>/* global angular Firebase */
(function() {
  'use strict';

angular.module('burybox')

.controller('LoginController', function($scope){
  var firebase = new Firebase('https://sweltering-inferno-1762.firebaseio.com');

  var self = this;

  this.login = function(){
    firebase.authWithOAuthPopup('google', function(error, auth){
      $scope.$apply(function(){
        self.username = auth.google.username;
        console.log('testing');

      });
    });
  };

});

})();<commit_msg>used firebase.com/docs to attempt to add 'sessiononly' login feature<commit_after>/* global angular Firebase */
(function() {
  'use strict';

  angular.module('burybox')

  .controller('LoginController', function() {
    var firebase = new Firebase('https://sweltering-inferno-1762.firebaseio.com');

    var self = this;

    this.login = function() {
      firebase.authWithOAuthPopup('google', function(error, auth) {
        remember: "sessionOnly";

      });

    };
  });
})();
{'fraction_non_alphanumeric': 0.1700404858299595, 'fraction_numerical': 0.008097165991902834, 'mean_word_length': 3.621495327102804, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '3091294', 'n_tokens_mistral': 316, 'n_tokens_neox': 300, 'n_words': 58}