mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-25 20:46:48 +00:00
13 lines
488 B
CoffeeScript
13 lines
488 B
CoffeeScript
Darkswarm.controller "AuthenticationCtrl", ($scope, AuthenticationService, SpreeUser)->
|
|
$scope.open = AuthenticationService.open
|
|
$scope.toggle = AuthenticationService.toggle
|
|
|
|
$scope.spree_user = SpreeUser.spree_user
|
|
$scope.isActive = AuthenticationService.isActive
|
|
$scope.select = AuthenticationService.select
|
|
|
|
$scope.tabs =
|
|
login: { active: $scope.isActive('/login') }
|
|
signup: { active: $scope.isActive('/signup') }
|
|
forgot: { active: $scope.isActive('/forgot') }
|